Commit 977de5f
authored
fix(docker-tag): force lowercase for repository and tag inputs (#375)
## 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.1 parent 4f3fb56 commit 977de5f
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments