Skip to content

Commit

Permalink
fix: strip v from tag (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
soniqua authored Nov 20, 2024
1 parent 24ae4fa commit ff030a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sigstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Cosign with OIDC
run: |
# Get the latest tag
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1` | tr -d 'v')
# Obtain the digest from this tag
DIGEST=$(curl "https://hub.docker.com/v2/repositories/snyk/snyk-universal-broker/tags/${LATEST_TAG}" | jq '.digest' -r)
# Sign the image, using GitHub as an OIDC provider
Expand Down

0 comments on commit ff030a1

Please sign in to comment.