Fix CI/CD rule order

This commit is contained in:
Neshura 2022-12-04 01:29:50 +01:00
parent e275a67540
commit e971089b51
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A

View file

@ -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: