Skip to content

Add GH attestations #72

@tazarov

Description

@tazarov

https://github.com/actions/attest-build-provenance?tab=readme-ov-file#container-image

- name: Attest
        uses: actions/attest-build-provenance@v2
        id: attest
        with:
          subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
          subject-digest: ${{ steps.build-and-push.outputs.digest }}
          push-to-registry: true

Important

What should be the subject hame here? We have multiple tags for tag in $(echo '${{ steps.meta.outputs.tags }}' | grep '^ghcr.io'); do

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions