Skip to content

fix: add GHCR login to disk build job - #47

Merged
freebuff-web[bot] merged 1 commit into
mainfrom
fix/disk-ghcr-login
Aug 29, 2026
Merged

freebuff-web[bot] merged 1 commit into
mainfrom
fix/disk-ghcr-login

Conversation

@freebuff-web

@freebuff-web freebuff-web Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

The disk build job pulls versioned container images from GHCR (e.g. `ghcr.io/cstaks/calos:v1.1.5`) but never authenticates before the pull, causing `unauthorized` failures on private packages.

Adds a `docker/login-action` step after checkout and before the podman storage reset, matching the login step already present in the `build-versioned-images` job.

Root cause: The `build-versioned-images` job logs in to push images, but the downstream `build` job (which pulls them for disk image creation) had no login step.

Fix: `docker/login-action@v4.5.1` with `GITHUB_TOKEN` in the `build` job, placed after checkout and before the podman storage reset.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff noreply@codebuff.com

The build job pulls versioned container images from GHCR but never
authenticates, causing 'unauthorized' failures when the package
registry requires login. Add a GHCR login step after checkout so
podman can pull the private images.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@github-actions github-actions Bot added the ci label Aug 29, 2026
@freebuff-web
freebuff-web Bot merged commit de1b235 into main Aug 29, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant