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

Remove container scanning rules for now

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