Commit 80c4d122 authored by Jerome Touvier's avatar Jerome Touvier
Browse files

add commit sha to ci

parent 9e854722
Pipeline #51982 passed with stage
in 1 minute and 48 seconds
......@@ -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
Supports Markdown
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