From ec0007aa1c803bc1f0d18bad59e8d11aaa0ae7dc Mon Sep 17 00:00:00 2001 From: Marcel Feix Date: Tue, 8 Jun 2021 11:17:04 +0200 Subject: [PATCH] feat(Publish-image): make use of rules instead of only --- publish-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish-image.yml b/publish-image.yml index 121b81c..2e092e7 100644 --- a/publish-image.yml +++ b/publish-image.yml @@ -22,8 +22,8 @@ name: gcr.io/kaniko-project/executor:debug entrypoint: [ "" ] stage: package - only: - - tags + rules: + - if: $CI_COMMIT_TAG variables: DOCKER_REGISTRY: $CI_REGISTRY DOCKER_REGISTRY_USER: $CI_REGISTRY_USER