Skip to content

Commit

Permalink
fix cosign latest tag reference format
Browse files Browse the repository at this point in the history
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
  • Loading branch information
rdhar committed Apr 4, 2024
1 parent 4d20ead commit 85c2c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tf_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
env:
CLI_USES: ${{ matrix.cli_uses }}
run: |
LATEST_COSIGN=$(curl --silent https://api.github.com/repos/sigstore/cosign/releases/latest | jq -r .tag_name)
LATEST_COSIGN=$(curl --silent https://api.github.com/repos/sigstore/cosign/releases/latest | jq -r .tag_name | tr -d "v")
LATEST_TENV=$(curl --silent https://api.github.com/repos/tofuutils/tenv/releases/latest | jq -r .tag_name)
curl -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign_${LATEST_COSIGN}_amd64.deb"
curl -O -L "https://github.com/tofuutils/tenv/releases/latest/download/tenv_${LATEST_TENV}_amd64.deb"
Expand Down

0 comments on commit 85c2c57

Please sign in to comment.