Skip to content

fix(ci): lowercase GHCR image ref in docker-smoke.yml - #302

Merged
rylinjames merged 1 commit into
mainfrom
fix/docker-smoke-lowercase-image-ref
Aug 12, 2026
Merged

fix(ci): lowercase GHCR image ref in docker-smoke.yml#302
rylinjames merged 1 commit into
mainfrom
fix/docker-smoke-lowercase-image-ref

Conversation

@rylinjames

Copy link
Copy Markdown
Collaborator

Summary

  • docker-smoke.yml has failed on every run since at least 2026-05-10 (confirmed via CI logs). It does a raw docker pull ghcr.io/${{ github.repository }}, which resolves to FastCrest/tether, mixed-case. Docker's own client rejects this outright: invalid reference format: repository name (...) must be lowercase.
  • docker-publish.yml has stayed green throughout because it builds the image reference via docker/metadata-action, which lowercases automatically before pushing. docker-smoke.yml never matched that on read, so it was trying to pull an image reference that never existed.
  • Fix: compute the same lowercased ref once in the "Resolve image tag" step and reuse it across all four places the image is referenced (pull, --help, targets, module-import check, and the summary).

Test plan

  • Validated the resulting YAML parses correctly.
  • This workflow only runs after docker-publish.yml completes (or via manual dispatch), so the actual pull-and-run steps can't be exercised outside CI. The fix will be confirmed on the next tag push or manual workflow_dispatch run.

🤖 Generated with Claude Code

docker-smoke.yml has failed on every run since at least 2026-05-10: it did
a raw `docker pull ghcr.io/${{ github.repository }}`, which is mixed-case
(FastCrest/tether) and therefore categorically invalid per Docker's own
reference format rules. docker-publish.yml has been green throughout
because docker/metadata-action lowercases the image ref before pushing;
docker-smoke.yml just never matched that on read. Fixes by computing the
same lowercased ref once and reusing it across all four steps that
reference the image.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rylinjames
rylinjames merged commit 97d2a87 into main Aug 12, 2026
7 checks passed
@rylinjames
rylinjames deleted the fix/docker-smoke-lowercase-image-ref branch August 12, 2026 17:52
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