Skip to content

Commit

Permalink
tested if actions/attest-build-provenance does require the tag to p…
Browse files Browse the repository at this point in the history
…ush to the registry
  • Loading branch information
CommanderStorm authored May 16, 2024
1 parent 48b8ed0 commit d6f21d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/_docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=min
- name: Attest
if: github.ref == 'refs/heads/main'
uses: actions/attest-build-provenance@v1
id: attest
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit d6f21d2

Please sign in to comment.