feat(Publish-image): make use of rules instead of only

This commit is contained in:
Marcel Feix 2021-06-08 11:17:04 +02:00
parent 9e8fe7c6c2
commit ec0007aa1c
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03

View File

@ -22,8 +22,8 @@
name: gcr.io/kaniko-project/executor:debug name: gcr.io/kaniko-project/executor:debug
entrypoint: [ "" ] entrypoint: [ "" ]
stage: package stage: package
only: rules:
- tags - if: $CI_COMMIT_TAG
variables: variables:
DOCKER_REGISTRY: $CI_REGISTRY DOCKER_REGISTRY: $CI_REGISTRY
DOCKER_REGISTRY_USER: $CI_REGISTRY_USER DOCKER_REGISTRY_USER: $CI_REGISTRY_USER