Skip to content

Commit dc28a8b

Browse files
authored
Use latest docker/build-push-action with provenance set to false
Known issue and resolution: docker/build-push-action#820
1 parent 71dddea commit dc28a8b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build-test-publish.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ jobs:
119119
username: ${{ secrets.QUAY_USERNAME }}
120120
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
121121
- name: Build and push
122-
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
123-
uses: docker/build-push-action@v3
122+
uses: docker/build-push-action@v5
124123
with:
125124
context: .
126125
platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x
126+
provenance: false
127127
push: ${{ github.event_name != 'pull_request' }}
128128
tags: ${{ steps.meta.outputs.tags }}
129129
labels: ${{ steps.meta.outputs.labels }}
@@ -145,11 +145,11 @@ jobs:
145145
- name: Build and push single-arch amd64 image
146146
if: github.event_name != 'pull_request'
147147
#if: startsWith(github.ref, 'refs/tags/v')
148-
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
149-
uses: docker/build-push-action@v3
148+
uses: docker/build-push-action@v5
150149
with:
151150
context: .
152151
platforms: linux/amd64
152+
provenance: false
153153
push: ${{ github.event_name != 'pull_request' }}
154154
tags: ${{ steps.single-arch-meta-amd64.outputs.tags }}
155155
labels: ${{ steps.single-arch-meta-amd64.outputs.labels }}
@@ -171,11 +171,11 @@ jobs:
171171
- name: Build and push single-arch arm64 image
172172
if: github.event_name != 'pull_request'
173173
#if: startsWith(github.ref, 'refs/tags/v')
174-
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
175-
uses: docker/build-push-action@v3
174+
uses: docker/build-push-action@v5
176175
with:
177176
context: .
178177
platforms: linux/arm64
178+
provenance: false
179179
push: ${{ github.event_name != 'pull_request' }}
180180
tags: ${{ steps.single-arch-meta-arm64.outputs.tags }}
181181
labels: ${{ steps.single-arch-meta-arm64.outputs.labels }}

0 commit comments

Comments
 (0)