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

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