Skip to content

Commit

Permalink
ci: fix failure to create multi-arch images
Browse files Browse the repository at this point in the history
Disable provenance information to create multi-arch image
  • Loading branch information
Seunguk Shin committed Dec 23, 2024
1 parent d92f65a commit af894ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-as-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Build ${{ matrix.name }} Container Image
run: |
commit_sha=${{ github.sha }}
docker buildx build --platform "${{ matrix.target_platform }}" \
docker buildx build --platform "${{ matrix.target_platform }}" --provenance false \
-f "${{ matrix.docker_file }}" ${{ inputs.build_option }} \
--build-arg BUILDPLATFORM="${{ matrix.build_platform }}" \
--build-arg ARCH="${{ matrix.target_arch }}" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-kbs-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Build Container Image KBS (${{ matrix.name }})
run: |
commit_sha=${{ github.sha }}
docker buildx build --platform "${{ matrix.target_platform }}" \
docker buildx build --platform "${{ matrix.target_platform }}" --provenance false \
-f "${{ matrix.docker_file }}" ${{ inputs.build_option }} \
-t "ghcr.io/confidential-containers/staged-images/${{ matrix.tag }}:${commit_sha}-${{ matrix.target_arch }}" \
-t "ghcr.io/confidential-containers/staged-images/${{ matrix.tag }}:latest-${{ matrix.target_arch }}" \
Expand Down

0 comments on commit af894ff

Please sign in to comment.