We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dcac08 commit 13079cdCopy full SHA for 13079cd
.github/workflows/build-push-images.yaml
@@ -193,4 +193,20 @@ jobs:
193
tags: ${{ env.tag }}
194
username: ${{ secrets.registry_username }}
195
password: ${{ secrets.registry_password }}
196
- registry: ${{ inputs.registry }}
+ registry: ${{ inputs.registry }}
197
+
198
+ attestations:
199
+ needs: manifest
200
+ runs-on: ubuntu-latest
201
+ permissions:
202
+ id-token: write
203
+ contents: read
204
+ attestations: write
205
+ packages: write
206
+ steps:
207
+ - name: Generate artifact attestation
208
+ uses: actions/attest-build-provenance@v2
209
+ with:
210
+ subject-name: ${{ inputs.registry }}/${{ inputs.image_name }}:${{ needs.prepare.outputs.tag }}
211
+ subject-digest: 'sha256:fedcba0...'
212
+ push-to-registry: true
0 commit comments