Set explicit Docker permissions (#997)

This commit is contained in:
Charlie Marsh 2024-01-19 00:29:29 -05:00 committed by GitHub
parent c8285cb5ef
commit 980e1f6d79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -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:

View File

@ -167,3 +167,5 @@ build-local-artifacts = false
local-artifacts-jobs = ["./build-binaries", "./build-docker"]
# Publish jobs to run in CI
publish-jobs = ["./publish-pypi"]
# For: `permissions: packages: write`.
allow-dirty = ["ci"]