From ba2b6a88ab9c3b4746e73b1aefb7a647bb8d22e6 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Wed, 20 Nov 2024 22:28:49 -0500 Subject: [PATCH] Update release.yaml - Fix install cosign (#209) Signed-off-by: Mathieu Benoit --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e79cdb2..a0aff4c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,6 +21,8 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: 'go.mod' + - name: Install Cosign + uses: sigstore/cosign-installer@v3 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: @@ -48,8 +50,6 @@ jobs: tags: | ghcr.io/score-spec/score-compose:${{ github.ref_name }} ghcr.io/score-spec/score-compose:latest - - name: Install Cosign - uses: sigstore/cosign-installer@v3 - name: Sign container image run: | cosign sign --yes ghcr.io/score-spec/score-compose@${{ steps.build-push-container.outputs.digest }}