Skip to content

Commit af698e9

Browse files
author
Ignacio Van Droogenbroeck
committed
fix(release): lowercase owner for GHCR OCI helm push (OCI repos must be lowercase)
1 parent 206c4d5 commit af698e9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,10 @@ jobs:
125125

126126
- name: Push chart to GHCR (OCI)
127127
run: |
128-
helm push dist/launchpad-${{ needs.prepare.outputs.version }}.tgz \
129-
oci://ghcr.io/${{ github.repository_owner }}/charts
128+
# OCI repository paths must be lowercase; the org slug is mixed-case.
129+
OWNER="$(echo '${{ github.repository_owner }}' | tr '[:upper:]' '[:lower:]')"
130+
helm push "dist/launchpad-${{ needs.prepare.outputs.version }}.tgz" \
131+
"oci://ghcr.io/${OWNER}/charts"
130132
131133
release:
132134
name: GitHub Release

0 commit comments

Comments
 (0)