diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7eddb317b201f2ac11594bf943919b13779cc3f6..7b02c7e2e4d02ce9b22a77210718b9749690a119 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,8 +52,9 @@ docker:build: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY - echo "Building Dockerfile..." - docker build --pull -t ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG} -t ${CI_APPLICATION_REPOSITORY}:latest . - - echo "Pushing to GitLab Container registry $CI_APPLICATION_REPOSITORY with tags `${CI_APPLICATION_TAG}` and `latest`" + - echo "Pushing to GitLab Container registry $CI_APPLICATION_REPOSITORY with tags '${CI_APPLICATION_TAG}' and 'latest'" - docker push ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG} + - docker push ${CI_APPLICATION_REPOSITORY}:latest only: - master - stable \ No newline at end of file