Skip to content

Commit

Permalink
ci(docker): Add docker build for arm64 ubi image
Browse files Browse the repository at this point in the history
Signed-off-by: 陳鈞 <[email protected]>
  • Loading branch information
jim60105 committed Dec 4, 2023
1 parent 91bd811 commit e66b522
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
target: final
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# arm64 failed to build on alpine image
platforms: linux/amd64

- name: Build and push UBI
Expand All @@ -98,26 +99,4 @@ jobs:
target: final
tags: ${{ steps.meta-ubi.outputs.tags }}
labels: ${{ steps.meta-ubi.outputs.labels }}
platforms: linux/amd64

# - name: Build and push arm64
# uses: docker/build-push-action@v5
# with:
# context: .
# file: ./Dockerfile
# push: true
# target: final
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
# platforms: linux/arm64

# - name: Build and push UBI arm64
# uses: docker/build-push-action@v5
# with:
# context: .
# file: ./Dockerfile.ubi
# push: true
# target: final
# tags: ${{ steps.meta-ubi.outputs.tags }}
# labels: ${{ steps.meta-ubi.outputs.labels }}
# platforms: linux/arm64
platforms: linux/amd64,linux/arm64

0 comments on commit e66b522

Please sign in to comment.