From 1b3cd1ecf3901b1c0c3864450df9c4f90f922ff5 Mon Sep 17 00:00:00 2001 From: anthorob Date: Sun, 16 Nov 2025 05:22:33 +0000 Subject: [PATCH] Edit .gitlab-ci.yml --- tools/coder-cli/.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/coder-cli/.gitlab-ci.yml b/tools/coder-cli/.gitlab-ci.yml index f8dfe78..d872056 100644 --- a/tools/coder-cli/.gitlab-ci.yml +++ b/tools/coder-cli/.gitlab-ci.yml @@ -6,6 +6,6 @@ build_cli: - echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY" - buildah push ${FQ_IMAGE_NAME}:cli rules: - - changes: - - tools/coder-cli/** - - 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