Skip to content

Fix GHCR 403 on PR builds by disabling image push on pull_request - #137

Open
dati18 wants to merge 3 commits into
mainfrom
fix-gh-workflow
Open

dati18 wants to merge 3 commits into
mainfrom
fix-gh-workflow

Conversation

@dati18

@dati18 dati18 commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Summary
This change fixes Docker build workflow failures caused by GitHub Container Registry authorization during pull_request runs.

Problem
PR workflows skipped the GHCR login step but still attempted to push images with buildx. That path triggered an anonymous token request to GHCR and failed with 403 Forbidden.

Bug: T438733

dependabot Bot and others added 3 commits September 28, 2026 14:19
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 2.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v1.10.0...v2.1.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
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