commit fe1a81fef9b03a1d3416623326b22a9176ae24a0 parent eba1a8d758f866bfa657069c22036fe7d031ce1c Author: Andreas Gruhler <andreas.gruhler@adfinis.com> Date: Thu, 20 Jul 2023 23:59:15 +0200 feat(registry): force-pull latest image Diffstat:
M | hcl/infra/registry/public-registry.nomad | | | 3 | ++- |
M | hcl/infra/registry/simple-registry.nomad | | | 3 | ++- |
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/hcl/infra/registry/public-registry.nomad b/hcl/infra/registry/public-registry.nomad @@ -55,7 +55,8 @@ job "public-registry" { } config { - image = "registry" + image = "registry:latest" + force_pull = true ports = ["https"] volumes = [ # mount the templated config from the task directory to the container diff --git a/hcl/infra/registry/simple-registry.nomad b/hcl/infra/registry/simple-registry.nomad @@ -30,7 +30,8 @@ job "simple-registry" { } config { - image = "registry" + image = "registry:latest" + force_pull = true ports = ["http"] }