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

fix CI Docker stage

parent 4266a171
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ docker:build:
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
- echo "Building Dockerfile..."
- docker build --pull -t sigma-backend:${CI_APPLICATION_TAG} -t sigma-backend:latest .
- docker build --pull -t ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG} -t sigma-backend:latest .
- echo "Pushing to GitLab Container registry $CI_APPLICATION_REPOSITORY..."
- docker push ${CI_APPLICATION_REPOSITORY}:${CI_APPLICATION_TAG}
- docker push ${CI_APPLICATION_REPOSITORY}:latest
......
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