From 5a31f8cdcfb590a7f28cb1a980818d7f3c372225 Mon Sep 17 00:00:00 2001 From: anthorob Date: Wed, 3 Dec 2025 18:31:32 +0000 Subject: [PATCH] Edit .gitlab-ci.yml --- tools/terraform-shell/.gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/terraform-shell/.gitlab-ci.yml b/tools/terraform-shell/.gitlab-ci.yml index 01c5c59..a07c645 100644 --- a/tools/terraform-shell/.gitlab-ci.yml +++ b/tools/terraform-shell/.gitlab-ci.yml @@ -6,3 +6,7 @@ build_shell: - buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:terraform -f tools/terraform-shell/Dockerfile . - 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"'