Fix Docker publish permissions in release pipeline (#3195)
This commit is contained in:
@@ -100,6 +100,9 @@ jobs:
|
||||
with:
|
||||
plan: ${{ needs.plan.outputs.val }}
|
||||
secrets: inherit
|
||||
permissions:
|
||||
packages: write
|
||||
contents: read
|
||||
|
||||
# Build and package all the platform-agnostic(ish) things
|
||||
build-global-artifacts:
|
||||
|
||||
@@ -244,3 +244,5 @@ build-local-artifacts = false
|
||||
local-artifacts-jobs = ["./build-binaries", "./build-docker"]
|
||||
# Publish jobs to run in CI
|
||||
publish-jobs = ["./publish-pypi"]
|
||||
# We allow modifications for Docker package publish permissions
|
||||
allow-dirty = ["ci"]
|
||||
|
||||
Reference in New Issue
Block a user