mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 15:06:36 +01:00
cache mac acceptance image
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
@@ -33,7 +33,7 @@ trap cleanup EXIT
|
||||
skopeo --version || brew install skopeo
|
||||
|
||||
# fetch test image
|
||||
skopeo --override-os linux copy docker://docker.io/${TEST_IMAGE} docker-archive:${TEST_IMAGE_TAR}
|
||||
[[ -f ${TEST_IMAGE_TAR} ]] || skopeo --override-os linux copy "docker://docker.io/${TEST_IMAGE}" "docker-archive:${TEST_IMAGE_TAR}"
|
||||
ls -alh ${TEST_IMAGE_TAR}
|
||||
|
||||
# run syft
|
||||
|
||||
Reference in New Issue
Block a user