From 889892364c746ce9d58d9cee0df1d99f61c7eb0e Mon Sep 17 00:00:00 2001 From: Federico Mastellone Date: Wed, 1 Feb 2023 14:02:52 +0000 Subject: [PATCH] TODO2 --- nix/workbench/backend/nomad.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/workbench/backend/nomad.sh b/nix/workbench/backend/nomad.sh index e40ab245f1c..ed9b1051f0a 100644 --- a/nix/workbench/backend/nomad.sh +++ b/nix/workbench/backend/nomad.sh @@ -204,8 +204,10 @@ backend_nomad() { local oci_image_tag=$( envjqr 'oci_image_tag') if podman image exists "${oci_image_name}:${oci_image_tag}" then + setenvjqstr 'oci_image_was_already_available' "true" msg "OCI image ${oci_image_name}:${oci_image_tag} is already available" else + setenvjqstr 'oci_image_was_already_available' "false" msg "Creating OCI image ..." local oci_image_skopeo_script=$(envjqr 'oci_image_skopeo_script') # TODO: for further research.