diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e35d1262..4d0eea22 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -307,7 +307,10 @@ docker-branches: - docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}" -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" . - docker push "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}" rules: - - if: $CI_COMMIT_TAG == null + - if: $CI_COMMIT_TAG != null + when: never + - when: always + before_script: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY allow_failure: true