Skip to content

Commit

Permalink
chore: add QEMU setup step and Docker build target specification
Browse files Browse the repository at this point in the history
- Added a step to set up QEMU
- Added a target specification for Docker build step

Signed-off-by: 陳鈞 <[email protected]>
  • Loading branch information
jim60105 committed Dec 2, 2023
1 parent 23ff158 commit fbe7cc6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
tags: |
type=raw,value=ubi
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -81,6 +84,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
target: final
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64, linux/arm64
Expand All @@ -91,6 +95,7 @@ jobs:
context: .
file: ./Dockerfile.ubi
push: true
target: final
tags: ${{ steps.meta-ubi.outputs.tags }}
labels: ${{ steps.meta-ubi.outputs.labels }}
platforms: linux/amd64, linux/arm64

0 comments on commit fbe7cc6

Please sign in to comment.