We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076b188 commit de25d02Copy full SHA for de25d02
gitlab-ci/base/jobs/sysdig.gitlab-ci.yml
@@ -50,10 +50,9 @@ sysdig-container_scanning:
50
rules:
51
- if: $CONTAINER_SCANNING_DISABLED == 'true' || $CONTAINER_SCANNING_DISABLED == '1'
52
when: never
53
- - if: $SYSDIG_SECURE_TOKEN
+ - if: $CI_COMMIT_BRANCH && $SYSDIG_SECURE_TOKEN
54
variables:
55
SECURE_API_TOKEN: "${SYSDIG_SECURE_TOKEN}"
56
- - if: $CI_COMMIT_BRANCH && $SYSDIG_SECURE_TOKEN
57
- if: $CI_COMMIT_BRANCH && $SECURE_API_TOKEN
58
59
sysdig-legacy-container_scanning:
0 commit comments