Add additional build step for the Alpine image
This commit is contained in:
parent
a4a4eda0eb
commit
3124c29052
1 changed files with 10 additions and 1 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue