Only run CI/CD when Tag is present

oops
This commit is contained in:
Neshura 2022-12-04 01:43:23 +01:00
parent 7406f311b1
commit e63d696e49
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A

View file

@ -16,7 +16,7 @@ variables:
.docker:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/docker:20
rules:
- if: $CI_COMMIT_TAG !~ /(^t)+.*/
- if: $CI_COMMIT_TAG && $CI_COMMIT_TAG !~ /(^t)+.*/
variables:
IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest
- if: $CI_COMMIT_TAG