Edit .gitlab-ci.yml

This commit is contained in:
anthorob committed 2025-11-16 05:22:55 +00:00
1 parent 1b3cd1ecf3
commit 74c751e229
1 file changed
+3 -3
+3 -3
View File
@@ -6,6 +6,6 @@ build_shell:
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY" - echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
- buildah push ${FQ_IMAGE_NAME}:terraform - buildah push ${FQ_IMAGE_NAME}:terraform
rules: rules:
- changes: - if: '$CI_COMMIT_BRANCH == "main" || $CI_PIPELINE_SOURCE == "schedule"'
- tools/terraform-shell/** when: always
- if: '$CI_PIPELINE_SOURCE == "schedule"' - when: never