Skip to content

Commit 69bf394

Browse files
committed
FDP-2849: Adding extra artifact attestation
1 parent 2347949 commit 69bf394

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@ jobs:
151151
labels: ${{ steps.meta.outputs.labels }}
152152
- name: Generate artifact attestation
153153
uses: actions/attest-build-provenance@v1
154+
if: ${{ matrix.file == null }}
154155
with:
155156
subject-name: ${{ matrix.image }}
156157
subject-digest: ${{ steps.push.outputs.digest }}
158+
- name: Generate artifact attestation
159+
uses: actions/attest-build-provenance@v1
160+
if: ${{ matrix.file != null }}
161+
with:
162+
subject-name: ${{ matrix.image }}
163+
subject-digest: ${{ steps.pushWithFile.outputs.digest }}

0 commit comments

Comments
 (0)