feat(Publish-image): make use of rules instead of only
This commit is contained in:
parent
9e8fe7c6c2
commit
ec0007aa1c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user