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