Skip to content
Snippets Groups Projects
Commit 5dd4cd8f authored by Wilson JALLET's avatar Wilson JALLET :money_with_wings:
Browse files

fix echo and push latest tag

parent e1ab5813
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment