Skip to content

Commit 4f98c01

Browse files
authored
Merge pull request #1212 from elezar/allow-scan-failures
[no-relnote] Don't let scan failures block pipeline
2 parents 6a18c48 + 6cccb0e commit 4f98c01

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.nvidia-ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,7 @@ scan-images:
165165
variables:
166166
IMAGE: "${CI_REGISTRY_IMAGE}/container-toolkit:${CI_COMMIT_SHORT_SHA}"
167167
IMAGE_ARCHIVE: "container-toolkit-${CI_JOB_ID}.tar"
168-
rules:
169-
- if: $IGNORE_SCANS == "yes"
170-
allow_failure: true
171-
- when: on_success
168+
allow_failure: true
172169
script:
173170
- |
174171
docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
@@ -292,4 +289,3 @@ publish-images-dummy:
292289
OUT_IMAGE_TAG: "publish-${CI_COMMIT_SHORT_SHA}"
293290
rules:
294291
- if: $CI_COMMIT_TAG == null || $CI_COMMIT_TAG == ""
295-

0 commit comments

Comments
 (0)