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:
|
variables:
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
|
||||||
IMAGE_LATEST: $CI_REGISTRY_IMAGE:develop
|
IMAGE_LATEST: $CI_REGISTRY_IMAGE:develop
|
||||||
|
|
||||||
|
|
||||||
.node:
|
.node:
|
||||||
|
@ -21,10 +21,10 @@ variables:
|
||||||
.docker:
|
.docker:
|
||||||
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker:20
|
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker:20
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TAG
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_TAG
|
||||||
variables:
|
variables:
|
||||||
IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest
|
IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
|
|
||||||
|
|
||||||
linter:
|
linter:
|
||||||
|
|
Reference in a new issue