Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
ws-statistics
Commits
6ec92ed2
Commit
6ec92ed2
authored
Jun 25, 2020
by
Jonathan Schaeffer
Browse files
Adding SHA in container tag
parent
987de189
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6ec92ed2
...
...
@@ -19,7 +19,7 @@ build:
stage
:
build
variables
:
DOCKERFILE
:
Dockerfile
IMAGE_NAME
:
$CI_REGISTRY_IMAGE/ws-statistics:
latest
IMAGE_NAME
:
$CI_REGISTRY_IMAGE/ws-statistics:
$CI_COMMIT_SHORT_SHA
script
:
-
$IMAGE_BUILD --file $DOCKERFILE $BUILD_ARG --tag $IMAGE_NAME .
-
$IMAGE_PUSH $IMAGE_NAME $IMAGE_NAME
...
...
Write
Preview
Markdown
is supported
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