Skip to content

Commit

Permalink
set permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Waffen <rw@betadots.de>
  • Loading branch information
rwaffen committed Jul 19, 2024
1 parent fcd0cbf commit b51dcce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
permissions:
contents: read
packages: write
id-token: write
attestations: write
steps:
- name: cut v from tag
env:
Expand All @@ -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

0 comments on commit b51dcce

Please sign in to comment.