Commit d8519652 authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Add more specific image tags

parent 05da0eff
Pipeline #11573 failed with stages
in 12 seconds
...@@ -20,7 +20,9 @@ ocaml-image-%OCAML_VERSION%: ...@@ -20,7 +20,9 @@ ocaml-image-%OCAML_VERSION%:
--dockerfile=$CI_PROJECT_DIR/Dockerfile --dockerfile=$CI_PROJECT_DIR/Dockerfile
--build-arg=OCAML_VERSION=$OCAML_VERSION --build-arg=OCAML_VERSION=$OCAML_VERSION
--build-arg=LAST_REPO_UPDATE=$(date +%s) --build-arg=LAST_REPO_UPDATE=$(date +%s)
--destination=$CI_REGISTRY_IMAGE:${OCAML_VERSION}
--destination=$CI_REGISTRY_IMAGE:${OCAML_VERSION%.*} --destination=$CI_REGISTRY_IMAGE:${OCAML_VERSION%.*}
--destination=$CI_REGISTRY_IMAGE:${OCAML_VERSION%.*}-$(date +%F)
$(if [ "$OCAML_VERSION" = "$LATEST_OCAML_VERSION" ]; then $(if [ "$OCAML_VERSION" = "$LATEST_OCAML_VERSION" ]; then
echo "--destination=$CI_REGISTRY_IMAGE:latest"; echo "--destination=$CI_REGISTRY_IMAGE:latest";
fi) fi)
......
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