Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
JMMC
jmmc-jmdcui-docker
Commits
d976441a
Commit
d976441a
authored
Apr 16, 2020
by
Guillaume Mella
Browse files
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d976441a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment