Skip to content

Fix Docker workflow GHCR push failure by granting package write permission - #9

Draft
pdxlocations with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-docker-actions-job
Draft

Fix Docker workflow GHCR push failure by granting package write permission#9
pdxlocations with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-docker-actions-job

Conversation

Copilot AI commented Aug 27, 2026

Copy link
Copy Markdown

The docker GitHub Actions job failed while pushing ghcr.io/pdxlocations/firefly images with denied: installation not allowed to Write organization package.
This PR updates the container workflow token permissions so image publishing can succeed.

  • Workflow permission fix

    • Added explicit job token permissions in .github/workflows/container.yml:
      • contents: read
      • packages: write
    • This enables docker/build-push-action to push tags to GHCR on push/workflow_dispatch.
  • Why this unblocks the failing run

    • The failure occurred at image push time, not during build, and is consistent with missing package-write scope for GITHUB_TOKEN.
permissions:
  contents: read
  packages: write

Copilot AI changed the title [WIP] Fix failing GitHub Actions job docker Fix Docker workflow GHCR push failure by granting package write permission Aug 27, 2026
Copilot stopped work on behalf of pdxlocations due to an error August 27, 2026 18:35
Copilot AI requested a review from pdxlocations August 27, 2026 18:35
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.

2 participants