Skip to content

Commit

Permalink
🌱 Signing scorecard images using cosign
Browse files Browse the repository at this point in the history
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
  • Loading branch information
naveensrinivasan committed May 29, 2022
1 parent a60ac06 commit 8f027f1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/publishimage.yml
Expand Up @@ -20,9 +20,12 @@ permissions:
packages: write

on:
pull_request:
- main
push:
branches:
- main
worflow_dispatch:
env:
GO_VERSION: 1.17.7

Expand Down Expand Up @@ -59,7 +62,7 @@ jobs:
make install
make scorecard-ko
- name: Install Cosign
uses: sigstore/cosign-installer@f700e6fbbab82f6897758a3af7a8dede4e308656 # v1.2.1
uses: sigstore/cosign-installer@f700e6fbbab82f6897758a3af7a8dede4e308656
- name: Sign image
run: |
cosign sign ghcr.io/${{github.repository_owner}}/stunning-tribble:${{ github.sha }}
run: |
cosign sign ghcr.io/${{github.repository_owner}}/scorecard:${{ github.sha }}

0 comments on commit 8f027f1

Please sign in to comment.