Skip to content

Commit 77fb5da

Browse files
committed
fix: missing tag and specify tag to anchore/syft
1 parent fc09a5c commit 77fb5da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build_and_push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
docker run --rm \
3939
-v /var/run/docker.sock:/var/run/docker.sock \
4040
-v "$PWD":/work \
41-
anchore/syft:latest "$FULL_IMAGE" -o syft-json > sbom.syft.json
41+
anchore/syft:v1.38.0 "$FULL_IMAGE" -o syft-json > sbom.syft.json
4242
test -s sbom.syft.json && echo "SBOM created: sbom.syft.json"
4343
4444
- name: 📤 Upload SBOM artifact
@@ -85,5 +85,5 @@ jobs:
8585
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
8686
run: |
8787
printf '%s' "$COSIGN_PRIVATE_KEY" > cosign.key
88-
cosign sign --key cosign.key $FINAL_TAG
88+
cosign sign --key cosign.key $FULL_IMAGE
8989
shred -u cosign.key || rm -f cosign.key

0 commit comments

Comments
 (0)