Skip to content

fix(docker-tag): force lowercase for repository and tag inputs#375

Merged
barnabasbusa merged 1 commit into
masterfrom
bbusa/docker-tag-lowercase
May 6, 2026
Merged

fix(docker-tag): force lowercase for repository and tag inputs#375
barnabasbusa merged 1 commit into
masterfrom
bbusa/docker-tag-lowercase

Conversation

@barnabasbusa
Copy link
Copy Markdown
Collaborator

Summary

  • The docker-tag composite action compared repository and upstream_repository case-sensitively, so dispatching prysm with the actual GitHub-cased OffchainLabs/prysm did not match the offchainlabs/prysm upstream and produced an OffchainLabs- prefix (e.g. OffchainLabs-glamsterdam-devnet-3-minimal).
  • Lowercase all four inputs (input, repository, upstream_repository, docker_tag) before comparing and emitting the tag. Prefix detection becomes case-insensitive and tags stay fully lowercase across every workflow that uses this action.

Test plan

  • Dispatch Build prysm docker image with repository=OffchainLabs/prysm and confirm no offchainlabs- prefix is added to the resulting tag.
  • Dispatch with a fork (e.g. MarcoPolo/prysm) and confirm the prefix is still applied as marcopolo-.
  • Spot-check another client workflow (e.g. lighthouse) to confirm normal upstream dispatches are unchanged.

Repository name comparisons were case-sensitive, so dispatching with
the actual GitHub-cased `OffchainLabs/prysm` did not match the
`offchainlabs/prysm` upstream and produced an `OffchainLabs-` prefix on
the resulting tag. Lowercase all inputs before comparing and emitting
the tag so prefix detection is case-insensitive and tags stay lowercase.
@barnabasbusa barnabasbusa merged commit 977de5f into master May 6, 2026
2 checks passed
@barnabasbusa barnabasbusa deleted the bbusa/docker-tag-lowercase branch May 6, 2026 18:59
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