Skip to content

Commit 74037fe

Browse files
committed
fix(build): lowercase app-id for podman image tag names
podman rejects repository names with uppercase letters. App-ids like io.github.DenysMb.Kontainer contain uppercase, causing 'repository name must be lowercase' (exit 125) in the chunkah split step. Derive APP_LOWER=${APP,,} and use it for all localhost image tags while keeping APP (original case) for filesystem paths and OCI artifact names. Assisted-by: Claude Sonnet 4.6 via OpenCode
1 parent 57e1e6c commit 74037fe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,11 @@ jobs:
480480
APP: ${{ matrix.app }}
481481
CHUNKAH_SPLITTER: https://github.com/coreos/chunkah/releases/download/v0.3.0/Containerfile.splitter
482482
run: |
483-
INPUT="localhost/${APP}:input"
484-
LABELED="localhost/${APP}:labeled"
485-
CHUNKED="localhost/${APP}:chunked"
483+
# podman requires repository names to be lowercase; app-ids may contain uppercase
484+
APP_LOWER="${APP,,}"
485+
INPUT="localhost/${APP_LOWER}:input"
486+
LABELED="localhost/${APP_LOWER}:labeled"
487+
CHUNKED="localhost/${APP_LOWER}:chunked"
486488
487489
# Pull OCI dir into the shared podman/buildah store and tag for stable reference.
488490
IMAGE_ID=$(podman pull --quiet "oci:./${APP}.oci")

0 commit comments

Comments
 (0)