fix: Add package write permission to releases (#3923)

This commit is contained in:
Kyle Carberry 2022-09-07 08:58:22 -05:00 committed by GitHub
parent 80352656e9
commit f9ef4b148b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ on:
type: boolean
required: true
permissions:
# Necessary to push docker images to ghcr.io.
packages: write
env:
CODER_RELEASE: ${{ github.event.inputs.snapshot && 'false' || 'true' }}