Edit .gitlab-ci.yml

This commit is contained in:
anthorob committed 2025-11-16 05:22:33 +00:00
1 parent bf82055cf3
commit 1b3cd1ecf3
1 file changed
+3 -3
+3 -3
View File
@@ -6,6 +6,6 @@ build_cli:
- 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}:cli - buildah push ${FQ_IMAGE_NAME}:cli
rules: rules:
- changes: - if: '$CI_COMMIT_BRANCH == "main" || $CI_PIPELINE_SOURCE == "schedule"'
- tools/coder-cli/** when: always
- if: '$CI_PIPELINE_SOURCE == "schedule"' - when: never