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
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user