Skip to content

Commit

Permalink
Use latest docker/build-push-action with provenance set to false
Browse files Browse the repository at this point in the history
Known issue and resolution:
docker/build-push-action#820
  • Loading branch information
PujaVad authored May 10, 2024
1 parent 71dddea commit dc28a8b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
- name: Build and push
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x
provenance: false
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand All @@ -145,11 +145,11 @@ jobs:
- name: Build and push single-arch amd64 image
if: github.event_name != 'pull_request'
#if: startsWith(github.ref, 'refs/tags/v')
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
provenance: false
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.single-arch-meta-amd64.outputs.tags }}
labels: ${{ steps.single-arch-meta-amd64.outputs.labels }}
Expand All @@ -171,11 +171,11 @@ jobs:
- name: Build and push single-arch arm64 image
if: github.event_name != 'pull_request'
#if: startsWith(github.ref, 'refs/tags/v')
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/arm64
provenance: false
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.single-arch-meta-arm64.outputs.tags }}
labels: ${{ steps.single-arch-meta-arm64.outputs.labels }}
Expand Down

0 comments on commit dc28a8b

Please sign in to comment.