diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b9f80c..4067007 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,12 @@ stages: variables: IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG - IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest + IMAGE_LATEST: $CI_REGISTRY_IMAGE:develop + +rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + variables: + IMAGE_LATEST: $CI_REGISTRY_IMAGE:latest .node: