Skip to content

fix(ci): lowercase ghcr.io image name in per-arch digest push#54

Merged
sirantd merged 1 commit into
mainfrom
fix/ghcr-lowercase-image-name
Jul 8, 2026
Merged

fix(ci): lowercase ghcr.io image name in per-arch digest push#54
sirantd merged 1 commit into
mainfrom
fix/ghcr-lowercase-image-name

Conversation

@sirantd

@sirantd sirantd commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Follow-up to fix(core): give nested eBPF build.rs cargo invocation its own target dir #52/fix(core): strip leaked build-script env from nested eBPF cargo call #53: the eBPF build itself now completes cleanly (~6 min, no deadlock, no symbol error) but the release workflow's per-arch build job failed at push time — invalid reference format: repository name (Perun-Engineering/ebpf-oom-watcher) must be lowercase.
  • docker/metadata-action auto-lowercases the tags it generates, but the per-arch job's build-push-action outputs: field referenced raw ghcr.io/${{ github.repository }} directly for the digest-only push, bypassing that normalization.
  • Fix: compute a lowercased IMAGE env once per job and use it consistently for both the metadata-action images: input and the digest-push outputs: field.

Test plan

  • Merge and confirm the Release workflow completes end to end (build → merge-and-push → helm → create-release)

docker/metadata-action lowercases the tags it generates, but the
per-arch build job's build-push-action outputs= field referenced the
raw (mixed-case) github.repository directly, bypassing that. ghcr.io
rejects mixed-case repository names, so both amd64 and arm64 jobs
failed at push time even though the build itself succeeded.
@sirantd sirantd merged commit ae661f5 into main Jul 8, 2026
6 checks passed
@sirantd sirantd deleted the fix/ghcr-lowercase-image-name branch July 8, 2026 03:19
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