Skip to content

Commit 48c8b37

Browse files
Merge pull request #81 from adambkaplan/fix-release-signing
Fix signing of released image
2 parents e5b2847 + 300b8a0 commit 48c8b37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/setup-go@v2
3030
with:
3131
go-version: 1.18.x
32-
- uses: sigstore/cosign-installer@v1.2.0
32+
- uses: sigstore/cosign-installer@v2.3.0
3333
- name: Build Release Images
3434
env:
3535
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
@@ -44,7 +44,7 @@ jobs:
4444
# OIDC.
4545
COSIGN_EXPERIMENTAL: "true"
4646
run: |
47-
grep -o "ghcr.io[^\"]*" "${GITHUB_WORKSPACE}/bundle/manifests/shipwright-operator.clusterserviceversion.yaml" | xargs cosign sign \
47+
grep -o "ghcr.io[^\"]*" "${GITHUB_WORKSPACE}/_output/olm/bundle/manifests/shipwright-operator.clusterserviceversion.yaml" | uniq | xargs -n 1 cosign sign \
4848
-a sha=${{ github.sha }} \
4949
-a run_id=${{ github.run_id }} \
5050
-a run_attempt=${{ github.run_attempt }}

0 commit comments

Comments
 (0)