Skip to content

Commit 5785a7c

Browse files
authored
pin to specific syft version (#342)
1 parent 77fb10e commit 5785a7c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ pipeline {
734734
docker run --rm \
735735
-v /var/run/docker.sock:/var/run/docker.sock:ro \
736736
-v ${TEMPDIR}:/tmp \
737-
ghcr.io/anchore/syft:latest \
737+
ghcr.io/anchore/syft:v1.26.1 \
738738
${LOCAL_CONTAINER} -o table=/tmp/package_versions.txt
739739
NEW_PACKAGE_TAG=$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )
740740
echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github"

ansible/roles/repository/templates/Jenkinsfile.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ pipeline {
10821082
docker run --rm \
10831083
-v /var/run/docker.sock:/var/run/docker.sock:ro \
10841084
-v ${TEMPDIR}:/tmp \
1085-
ghcr.io/anchore/syft:latest \
1085+
ghcr.io/anchore/syft:v1.26.1 \
10861086
${LOCAL_CONTAINER} -o table=/tmp/package_versions.txt
10871087
NEW_PACKAGE_TAG=$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )
10881088
echo "Package tag sha from current packages in buit container is ${NEW_PACKAGE_TAG} comparing to old ${PACKAGE_TAG} from github"

0 commit comments

Comments
 (0)