Skip to content

Commit 883ca3b

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 f395912 commit 883ca3b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ jobs:
9494
username: ${{ secrets.DOCKERHUB_USERNAME }}
9595
password: ${{ secrets.DOCKERHUB_TOKEN }}
9696
- name: Build and push
97-
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
98-
uses: docker/build-push-action@v3
97+
uses: docker/build-push-action@v5
9998
with:
10099
context: .
101100
push: true
102101
platforms: linux/amd64, linux/arm64
102+
provenance: false
103103
tags: ${{ steps.meta.outputs.tags }}
104104
labels: ${{ steps.meta.outputs.labels }}
105105
- name: OCI Metadata for single-arch amd64 image
@@ -114,11 +114,11 @@ jobs:
114114
type=semver,pattern={{version}},suffix=-amd64,latest=false
115115
type=sha,suffix=-amd64,latest=false
116116
- name: Build and push single-arch amd64 image
117-
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
118-
uses: docker/build-push-action@v3
117+
uses: docker/build-push-action@v5
119118
with:
120119
context: .
121120
platforms: linux/amd64
121+
provenance: false
122122
push: ${{ github.event_name != 'pull_request' }}
123123
tags: ${{ steps.single-arch-meta-amd64.outputs.tags }}
124124
labels: ${{ steps.single-arch-meta-amd64.outputs.labels }}
@@ -134,11 +134,11 @@ jobs:
134134
type=semver,pattern={{version}},suffix=-arm64,latest=false
135135
type=sha,suffix=-arm64,latest=false
136136
- name: Build and push single-arch arm64 image
137-
# Do not bump below action version (Known issue - https://github.com/docker/build-push-action/issues/820)
138-
uses: docker/build-push-action@v3
137+
uses: docker/build-push-action@v5
139138
with:
140139
context: .
141140
platforms: linux/arm64
141+
provenance: false
142142
push: ${{ github.event_name != 'pull_request' }}
143143
tags: ${{ steps.single-arch-meta-arm64.outputs.tags }}
144144
labels: ${{ steps.single-arch-meta-arm64.outputs.labels }}

0 commit comments

Comments
 (0)