Skip to content

Commit

Permalink
chore(infra): update cosign version and add -y flag to sign command
Browse files Browse the repository at this point in the history
  • Loading branch information
Talal Ashraf committed May 30, 2024
1 parent 77020e7 commit 61c5577
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-docker-image-and-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ jobs:

- name: Install Cosign
if: matrix.os == 'ubuntu-latest'
uses: sigstore/cosign-installer@main
uses: sigstore/cosign-installer@v3.3.0
with:
cosign-release: 'v2.2.2'

- name: Install SSH key
if: matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -176,7 +178,7 @@ jobs:
- name: Sign the images with GitHub OIDC
if: matrix.os == 'ubuntu-latest'
run: cosign sign --oidc-issuer https://token.actions.githubusercontent.com ${TAGS}
run: cosign sign -y --oidc-issuer https://token.actions.githubusercontent.com ${TAGS}
env:
TAGS: axelarnet/tofnd:${{ github.event.inputs.tag }}
COSIGN_EXPERIMENTAL: 1

0 comments on commit 61c5577

Please sign in to comment.