Skip to content

Commit

Permalink
Add write permissions to GHCR (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
hfhbd authored Nov 8, 2021
1 parent 9083b78 commit c66cf31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Set environment for version
run: long="${{ github.ref }}"; version=${long#"refs/tags/v"}; echo "version=${version}" >> $GITHUB_ENV
Expand Down

0 comments on commit c66cf31

Please sign in to comment.