Skip to content

Commit 0a3585e

Browse files
author
Ignacio Van Droogenbroeck
committed
fix(release): lowercase image ref for cosign; use OCI helm + lowercase image in release notes
1 parent af698e9 commit 0a3585e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ jobs:
9494
- name: Sign image (keyless)
9595
env:
9696
DIGEST: ${{ steps.build.outputs.digest }}
97-
run: cosign sign --yes "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${DIGEST}"
97+
run: |
98+
# cosign requires a fully lowercase reference; the org slug is mixed-case.
99+
IMAGE="$(echo '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}' | tr '[:upper:]' '[:lower:]')"
100+
cosign sign --yes "${IMAGE}@${DIGEST}"
98101
99102
chart:
100103
name: Package Helm chart
@@ -152,7 +155,7 @@ jobs:
152155
153156
**Container image**
154157
```
155-
ghcr.io/${{ github.repository_owner }}/launchpad:${{ needs.prepare.outputs.version }}
158+
ghcr.io/basekick-labs/launchpad:${{ needs.prepare.outputs.version }}
156159
```
157160
158161
**Run with Docker Compose**
@@ -163,6 +166,6 @@ jobs:
163166
164167
**Install with Helm**
165168
```bash
166-
helm install launchpad ./launchpad-${{ needs.prepare.outputs.version }}.tgz \
169+
helm install launchpad oci://ghcr.io/basekick-labs/charts/launchpad --version ${{ needs.prepare.outputs.version }} \
167170
--set jwtSecret=$(openssl rand -hex 32)
168171
```

0 commit comments

Comments
 (0)