multi build
This commit is contained in:
parent
06707ef647
commit
138b62aa31
3 changed files with 10 additions and 2 deletions
|
|
@ -58,9 +58,17 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
driver: docker-container
|
||||
- name: Build and push
|
||||
- name: Build and push alpine
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: alpine
|
||||
push: true
|
||||
platforms: linux/amd64, linux/arm64
|
||||
tags: ${{ vars.REGISTRY_URL }}/${{ env.GITHUB_REPOSITORY }}:latest
|
||||
tags: ${{ vars.REGISTRY_URL }}/${{ env.GITHUB_REPOSITORY }}-alpine:latest
|
||||
- name: Build and push ubuntu
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: alpine
|
||||
push: true
|
||||
platforms: linux/amd64, linux/arm64
|
||||
tags: ${{ vars.REGISTRY_URL }}/${{ env.GITHUB_REPOSITORY }}-ubuntu:latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue