Skip to content

Fix Docker workflow permissions for ghcr.io push#14

Merged
Siddhant-K-code merged 1 commit into
mainfrom
fix/docker-workflow-permissions
Jan 31, 2026
Merged

Fix Docker workflow permissions for ghcr.io push#14
Siddhant-K-code merged 1 commit into
mainfrom
fix/docker-workflow-permissions

Conversation

@Siddhant-K-code

Copy link
Copy Markdown
Owner

Fixes the permission_denied: write_package error in the Docker workflow.

Problem

The Docker build workflow failed with:

ERROR: failed to build: denied: permission_denied: write_package

Solution

Add additional permissions to the workflow:

  • attestations: write - Required for container signing
  • id-token: write - Required for OIDC token generation

Note

If this doesn't resolve the issue, the repository settings may need to be updated:

  • Settings → Actions → General → Workflow permissions → "Read and write permissions"

Add attestations and id-token write permissions to resolve
'permission_denied: write_package' error.

Co-authored-by: Ona <[email protected]>
@Siddhant-K-code Siddhant-K-code merged commit 9943a7e into main Jan 31, 2026
2 checks passed
@Siddhant-K-code Siddhant-K-code deleted the fix/docker-workflow-permissions branch January 31, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant