Skip to content

Commit 06651e5

Browse files
committed
image digest
1 parent ce2e736 commit 06651e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/cloud-build/cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ steps:
3535
waitFor:
3636
- publish
3737
name: anchore/grype
38-
args: ['--add-cpes-if-none', '-s', 'AllLayers', '-o', 'json', '--file', 'report.json', '$(cat image-digest.txt)']
38+
args: ['--add-cpes-if-none', '-s', 'AllLayers', '-o', 'json', '--file', 'report.json', "$(cat image-digest.txt)"]
3939

4040
# The Dockerfile used to generate this image is located in the vulctl repo.
4141
# https://github.com/mchmarny/vulctl/blob/main/Dockerfile
4242
- id: import
4343
name: us-west1-docker.pkg.dev/cloudy-build/vulctl/vulctl
4444
waitFor:
4545
- scan
46-
args: ['import', '--project', '$PROJECT_ID', '--source', '$(cat image-digest.txt)', '--file', 'report.json', '--format', 'grype']
46+
args: ['import', '--project', '$PROJECT_ID', '--source', "$(cat image-digest.txt)", '--file', 'report.json', '--format', 'grype']
4747

4848
images:
4949
- ${LOCATION}-docker.pkg.dev/$PROJECT_ID/$REPO_NAME/$_IMG_NAME:${_IMG_VERSION}

0 commit comments

Comments
 (0)