Skip to content

Fix GHCR login in image workflow - #2

Merged
dieterbaier merged 1 commit into
mainfrom
codex/fix-ghcr-login
Jul 7, 2026
Merged

Fix GHCR login in image workflow#2
dieterbaier merged 1 commit into
mainfrom
codex/fix-ghcr-login

Conversation

@dieterbaier

Copy link
Copy Markdown
Member

Summary

This fixes the failing GHCR login in the Build Docs Toolbox Image workflow.

The workflow previously piped secrets.GHCR_PAT into docker login, and the current main run failed with:

Error response from daemon: Get "https://ghcr.io/v2/": denied: denied

The workflow already grants packages: write, so this switches the login step to docker/login-action@v3 using the repository-scoped GITHUB_TOKEN.

Validation

  • Inspected failed run 28875416428; failure occurs in Login to GHCR.
  • Confirmed the workflow already has job-level contents: read and packages: write permissions.
  • Did not run workflow_dispatch on the branch because that would push branch-built image artifacts to GHCR as an external side effect. The intended verification path is the main push after merge.

@dieterbaier
dieterbaier merged commit e19d3d1 into main Jul 7, 2026
3 checks passed
@dieterbaier
dieterbaier deleted the codex/fix-ghcr-login branch July 7, 2026 15:07
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