Skip to content
Snippets Groups Projects
Commit 57b45d1b authored by calrama's avatar calrama
Browse files

[ci] add automatic calendar version tag for jupyterhub image

parent d3ed5cd9
No related branches found
No related tags found
No related merge requests found
Pipeline #30619 failed
...@@ -20,6 +20,9 @@ deploy ubuntu: ...@@ -20,6 +20,9 @@ deploy ubuntu:
script: script:
- image_name="${CI_REGISTRY}/${CI_PROJECT_PATH,,}" - image_name="${CI_REGISTRY}/${CI_PROJECT_PATH,,}"
- podman push "${image_name}/ubuntu" - podman push "${image_name}/ubuntu"
- podman push "${image_name}/jupyterhub" - calver="$(date +'%Y-%m-%dT%H:%M')"
- podman tag "${image_name}/jupyterhub" "${image_name}/jupyterhub:$calver"
- podman push "${image_name}/jupyterhub:$calver"
- podman image rm "${image_name}/jupyterhub:$calver"
after_script: after_script:
- podman logout "${CI_REGISTRY}" - podman logout "${CI_REGISTRY}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment