fix: lowercase the latest-minimal GHCR tag#3
Merged
Conversation
The Build and push (minimal — scratch, no ffprobe) step in ci.yml was
hardcoding:
tags: ghcr.io/${{ github.repository }}:latest-minimal
github.repository preserves the case of the org in the URL, which is
"Beacon-Stack/pilot" — GHCR strictly requires lowercase image names
and rejects the push with:
ERROR: failed to build: invalid tag
"ghcr.io/Beacon-Stack/pilot:latest-minimal":
repository name must be lowercase
The sibling "Build and push (latest)" step escapes this because it
uses docker/metadata-action outputs, which auto-lowercase. The
minimal step hardcodes the tag directly and misses that treatment.
Spell the repo explicitly as ghcr.io/beacon-stack/pilot instead of
using the expression. The literal never needs to change and matches
the canonical org slug GitHub resolves case-insensitively.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unblocks pilot's main-branch Docker job, which was failing on:
```
ERROR: failed to build: invalid tag
"ghcr.io/Beacon-Stack/pilot:latest-minimal":
repository name must be lowercase
```
The `Build and push (latest — alpine with ffprobe)` step escapes this because it uses `docker/metadata-action` outputs which auto-lowercase. The minimal step hardcoded `ghcr.io/${{ github.repository }}:latest-minimal` which preserves the org casing (`Beacon-Stack/pilot`) — GHCR rejects uppercase. Spelling the repo explicitly as `ghcr.io/beacon-stack/pilot` is the minimal fix.
Test plan