Skip to content

Commit bce7ae5

Browse files
authored
Update .gitlab-ci.yml
Add parameter --sysdig-url $SYSDIG_SECURE_ENDPOINT to allow using the endpoint variable
1 parent 45eb7a9 commit bce7ae5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab/.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ image:scan:
2929
entrypoint: [""]
3030
script:
3131
- mkdir reports
32-
- /sysdig-inline-scan.sh --sysdig-token $SYSDIG_SECURE_TOKEN --storage-type oci-dir --storage-path $(pwd)/build/ $CI_REGISTRY_NAME/$CI_IMAGE_NAME:$CI_IMAGE_TAG --report-folder reports
32+
- /sysdig-inline-scan.sh --sysdig-token $SYSDIG_SECURE_TOKEN --sysdig-url $SYSDIG_SECURE_ENDPOINT --storage-type oci-dir --storage-path $(pwd)/build/ $CI_REGISTRY_NAME/$CI_IMAGE_NAME:$CI_IMAGE_TAG --report-folder reports
3333
artifacts:
3434
paths:
3535
- reports
@@ -47,4 +47,4 @@ image:push:
4747
- crane auth login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY_HOST
4848
- crane push build/$CI_IMAGE_TAG.tar $CI_REGISTRY_HOST/$CI_REGISTRY_NAME/$CI_IMAGE_NAME:$CI_IMAGE_TAG
4949
needs:
50-
- image:scan
50+
- image:scan

0 commit comments

Comments
 (0)