Skip to content

Commit

Permalink
Manifests signatures with cosign
Browse files Browse the repository at this point in the history
  • Loading branch information
YoucefGuichi committed Feb 22, 2024
1 parent eb285dc commit 4bf7075
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,10 @@ jobs:
--source=${{ github.repositoryUrl }} \
--revision="${{ github.ref_name }}@sha1:${{ github.sha }}" \
--annotations='org.opencontainers.image.description=Capacitor install manifests for Flux'
- name: Sign manifests
run: |
curl -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign-linux-amd64"
sudo mv cosign-linux-amd64 /usr/local/bin/cosign
sudo chmod +x /usr/local/bin/cosign
cosign sign --key=secrets.COSIGNKEY oci://ghcr.io/gimlet-io/capacitor-manifests:${{ steps.version.outputs.version }}

0 comments on commit 4bf7075

Please sign in to comment.