Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 6ec92ed2 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Adding SHA in container tag

parent 987de189
Pipeline #46023 passed with stage
in 50 seconds
......@@ -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
......
Markdown is supported
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