From 1f429216897aefb333214cb057a3582859fe41cf Mon Sep 17 00:00:00 2001 From: siujamo Date: Tue, 26 May 2026 10:52:26 +0800 Subject: [PATCH] fix: revert CI branch guard, keep --provenance removal Revert the main-branch-only rule since $CI_COMMIT_BRANCH is unset for tag pipelines. The --provenance=false removal remains as the fix for legacy builder. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 477fe78..618e6fb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,4 +31,4 @@ release: - docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG" - docker push "$CI_REGISTRY_IMAGE:latest" rules: - - if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == "main" + - if: $CI_COMMIT_TAG