diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76f007235baa222f3a04b507580d5b05d4f8bd1f..b55c412019653d459c25aa59cf97fef8d13afd0f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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