diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8fc0a8a..14a1231 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,8 @@ jobs: permissions: contents: read packages: write + id-token: write + attestations: write steps: - name: cut v from tag env: @@ -22,6 +24,7 @@ jobs: uses: rwaffen/gha-build-and-publish-a-container@attest with: registry_password: ${{ secrets.GITHUB_TOKEN }} + attest: 'true' tags: | ghcr.io/${{ github.repository }}:${{ steps.split.outputs.tag }} ghcr.io/${{ github.repository }}:latest