Commit d976441a authored by Guillaume Mella's avatar Guillaume Mella

try to use $CI_COMMIT_TAG for image tag instead of the value comming from .env

parent 700aabcd
Pipeline #41675 passed with stage
in 3 minutes and 19 seconds
......@@ -22,8 +22,10 @@ stages :
- cd jmdc-$IMAGE
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG .
- docker push $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG
# - docker build -t $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG .
# - docker push $CI_REGISTRY_IMAGE/$IMAGE:$IMAGE_TAG
- docker build -t $CI_REGISTRY_IMAGE/$IMAGE:$CI_COMMIT_TAG .
- docker push $CI_REGISTRY_IMAGE/$IMAGE:$CI_COMMIT_TAG
build ui:
<<: *docker_build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment