From 5dd4cd8ff18e6d1a7322faead2b5b95d2df92969 Mon Sep 17 00:00:00 2001 From: ManifoldFR <wilson.jallet@gmail.com> Date: Fri, 21 Sep 2018 13:25:42 +0200 Subject: [PATCH] fix echo and push latest tag --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7eddb31..7b02c7e 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 -- GitLab