From 74c751e229d74517389570f27fb86226680e39da Mon Sep 17 00:00:00 2001 From: anthorob Date: Sun, 16 Nov 2025 05:22:55 +0000 Subject: [PATCH] Edit .gitlab-ci.yml --- tools/terraform-shell/.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/terraform-shell/.gitlab-ci.yml b/tools/terraform-shell/.gitlab-ci.yml index 54a4f96..7d532e3 100644 --- a/tools/terraform-shell/.gitlab-ci.yml +++ b/tools/terraform-shell/.gitlab-ci.yml @@ -6,6 +6,6 @@ build_shell: - echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY" - buildah push ${FQ_IMAGE_NAME}:terraform rules: - - changes: - - tools/terraform-shell/** - - if: '$CI_PIPELINE_SOURCE == "schedule"' \ No newline at end of file + - if: '$CI_COMMIT_BRANCH == "main" || $CI_PIPELINE_SOURCE == "schedule"' + when: always + - when: never \ No newline at end of file