Skip to content

Commit 332ee60

Browse files
committed
build: add attestation for docker image
1 parent 298a661 commit 332ee60

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ jobs:
3838
push: true
3939
tags: ${{ steps.meta.outputs.tags }}
4040
labels: ${{ steps.meta.outputs.labels }}
41+
42+
- name: Generate artifact attestation
43+
uses: actions/attest-build-provenance@v3
44+
with:
45+
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
46+
subject-digest: ${{ steps.push.outputs.digest }}
47+
push-to-registry: true
4148

4249
- name: Deploy to VPS
4350
uses: appleboy/ssh-action@master

0 commit comments

Comments
 (0)