From bb2ac2252ef303ddf559d3ea0e4b132771e10cb7 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 11 Apr 2024 14:14:37 +0200 Subject: [PATCH] Force job update when using SNAPSHOT images --- templates/group_start | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/group_start b/templates/group_start index 96c0aa8..9d0d70b 100644 --- a/templates/group_start +++ b/templates/group_start @@ -23,3 +23,11 @@ # Use minimal ephemeral disk size = 101 } + +[[- if and (has . "image") (regexp.Match "SNAPSHOT" .image) ]] + + meta { + # Force job to run each time as we're running a snapshot version + run = "${uuidv4()}" + } +[[- end ]]