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
RESIF
ws-sacpz-resp
Commits
80c4d122
Commit
80c4d122
authored
Nov 04, 2020
by
Jerome Touvier
Browse files
add commit sha to ci
parent
9e854722
Pipeline
#51982
passed with stage
in 1 minute and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
80c4d122
...
...
@@ -21,5 +21,6 @@ build:
DOCKERFILE
:
Dockerfile
IMAGE_NAME
:
$CI_REGISTRY_IMAGE/ws-sacpz-resp:$CI_COMMIT_SHORT_SHA
script
:
-
echo $CI_COMMIT_SHORT_SHA > ./static/commit.txt
-
$IMAGE_BUILD --file $DOCKERFILE $BUILD_ARG --tag $IMAGE_NAME .
-
$IMAGE_PUSH $IMAGE_NAME $IMAGE_NAME
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