Skip to content

Commit

Permalink
Fix Docker publish permissions in release pipeline (#3195)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored Apr 22, 2024
1 parent b9419e6 commit ccf4a85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit ccf4a85

Please sign in to comment.