Skip to content
Snippets Groups Projects
Commit 27cfb962 authored by Alex Iribarren's avatar Alex Iribarren
Browse files

Auto update tag or use latest

parent 2c91b9b1
No related branches found
Tags 0.3
No related merge requests found
Pipeline #
......@@ -96,6 +96,7 @@ tag_scheduler:
before_script:
- curl https://releases.hashicorp.com/nomad/${NOMAD_VERSION}/nomad_${NOMAD_VERSION}_linux_amd64.zip -o /tmp/nomad.zip
- unzip /tmp/nomad.zip -d /usr/local/bin/
- export IMAGE_VER="${CI_COMMIT_TAG:-latest}"
deploy_test:
<<: *nomad_deps
......
......@@ -13,7 +13,7 @@ job "reposync" {
driver = "docker"
config {
image = "https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/do_reposync:0.2"
image = "https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/do_reposync:${IMAGE_VER}"
volumes = [
"/tmp/repos:/repo"
]
......
......@@ -16,7 +16,7 @@ job "reposync_scheduler" {
driver = "docker"
config {
image = "https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/reposync_scheduler:0.2"
image = "https://gitlab-registry.cern.ch/linuxsupport/containers/reposync_test/reposync_scheduler:${IMAGE_VER}"
}
env {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment