Skip to content
Snippets Groups Projects
Commit 1ea6983a authored by Timo Furrer's avatar Timo Furrer
Browse files

Merge branch 'remove-container-scanning-rules' into 'main'

Remove container scanning rules for now

See merge request components/opentofu!19
parents b28c9254 be230d97
No related branches found
No related tags found
No related merge requests found
......@@ -22,13 +22,14 @@ include:
analyzer_image: "$CI_TEMPLATE_REGISTRY_HOST/security-products/container-scanning:6"
# FIXME: why do I have to set this, this is weird ...
force_run: true
rules:
- changes:
- Dockerfile
- .gitlab-ci.yml
- src/gitlab-tofu.sh
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# FIXME: doesn't work
# rules:
# - changes:
# - Dockerfile
# - .gitlab-ci.yml
# - src/gitlab-tofu.sh
# - if: $CI_COMMIT_TAG
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
stages:
- build
......@@ -117,13 +118,13 @@ container_scanning:
# Used for remediation
GIT_STRATEGY: fetch
# FIXME: because we are using rules with the include, but override here, we also have to have the same rules here
rules:
- changes:
- Dockerfile
- .gitlab-ci.yml
- src/gitlab-tofu.sh
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# rules:
# - changes:
# - Dockerfile
# - .gitlab-ci.yml
# - src/gitlab-tofu.sh
# - if: $CI_COMMIT_TAG
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
gitlab-opentofu-image:deploy:with-opentofu-version:
extends: .opentofu-versions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment