Add additional build step for the Alpine image

This commit is contained in:
Kovah 2022-05-03 09:06:33 +02:00 committed by James Long
parent a4a4eda0eb
commit 3124c29052

View file

@ -24,10 +24,19 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
- name: Build and push standard image
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKERHUB_PROJECT }}:latest
- name: Build and push Alpine image
uses: docker/build-push-action@v2
with:
context: .
push: true
file: Dockerfile.alpine
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKERHUB_PROJECT }}:alpine