Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
VILLASframework
VILLASweb-backend-go
Commits
e6b6a0f9
Commit
e6b6a0f9
authored
Mar 19, 2020
by
Sonja Happ
Browse files
use TAG for docker image generated in CI
parent
70b2ded8
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e6b6a0f9
...
...
@@ -44,7 +44,7 @@ build:docker:
-
shell
-
linux
script
:
-
docker build -t ${DOCKER_IMAGE} .
-
docker build -t ${DOCKER_IMAGE}
:${CI_COMMIT_SHORT_SHA}
.
# Stage: test
##############################################################################
...
...
@@ -144,7 +144,7 @@ deploy:docker:
before_script
:
-
docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
script
:
-
docker push ${DOCKER_IMAGE}
-
docker push ${DOCKER_IMAGE}
:${CI_COMMIT_SHORT_SHA}
dependencies
:
-
build:docker
only
:
...
...
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