Fix CI/CD rule order
This commit is contained in:
parent
e275a67540
commit
e971089b51
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ stages:
|
|||
|
||||
variables:
|
||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
||||
IMAGE_LATEST: $CI_REGISTRY_IMAGE:develop
|
||||
IMAGE_LATEST: $CI_REGISTRY_IMAGE:develop
|
||||
|
||||
|
||||
.node:
|
||||
|
@ -21,10 +21,10 @@ variables:
|
|||
.docker:
|
||||
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker:20
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TAG
|
||||
variables:
|
||||
IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
||||
|
||||
linter:
|
||||
|
|
Reference in a new issue