Skip to content

Commit 81f8636

Browse files
corbinlcclaude
andcommitted
Fix: lowercase repository owner for GHCR image names
GHCR requires all-lowercase image names; CypherpunkArmory has mixed case so the tag was being rejected. Lowercase the owner in shell. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5702473 commit 81f8636

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ jobs:
2525
- name: Compare upstream digest with last-built label
2626
id: check
2727
env:
28-
GHCR_IMAGE: ghcr.io/${{ github.repository_owner }}/userland-debian
28+
OWNER: ${{ github.repository_owner }}
2929
run: |
30+
GHCR_IMAGE="ghcr.io/$(echo "$OWNER" | tr '[:upper:]' '[:lower:]')/userland-debian"
3031
UPSTREAM=$(docker manifest inspect debian:latest 2>/dev/null \
3132
| sha256sum | cut -d' ' -f1)
3233
echo "upstream_digest=$UPSTREAM" >> "$GITHUB_OUTPUT"
@@ -96,7 +97,7 @@ jobs:
9697
DATE: ${{ steps.date.outputs.value }}
9798
OWNER: ${{ github.repository_owner }}
9899
run: |
99-
GHCR="ghcr.io/${OWNER}/userland-debian"
100+
GHCR="ghcr.io/$(echo "$OWNER" | tr '[:upper:]' '[:lower:]')/userland-debian"
100101
{
101102
echo "${GHCR}:latest"
102103
echo "${GHCR}:${DATE}"

0 commit comments

Comments
 (0)