From bd87c1ae80b8508411e88ed105d744c421b511c1 Mon Sep 17 00:00:00 2001
From: Andrew Davison <andrew.davison@cnrs.fr>
Date: Mon, 2 Oct 2023 16:45:17 +0200
Subject: [PATCH] Use versioned Docker image tag for reproducibility

---
 steps/bucket_push_file.cwl | 2 +-
 steps/plot_results.cwl     | 2 +-
 steps/run_simulation.cwl   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/steps/bucket_push_file.cwl b/steps/bucket_push_file.cwl
index 09035b7..223ed43 100644
--- a/steps/bucket_push_file.cwl
+++ b/steps/bucket_push_file.cwl
@@ -6,7 +6,7 @@ baseCommand: bucket_push_file.py
 label: "Push a folder to an EBRAINS Collaboratory Bucket"
 hints:
   DockerRequirement:
-    dockerPull: docker-registry.ebrains.eu/sc3/bucket_push_file:latest
+    dockerPull: docker-registry.ebrains.eu/sc3/bucket_push_file@sha256:b309e1fcff9bd43bde370c0c346a458db206e03233522ea3ec4dbc0b45050431
 
 inputs:
   bucket_id:
diff --git a/steps/plot_results.cwl b/steps/plot_results.cwl
index 701ce51..aab10d1 100644
--- a/steps/plot_results.cwl
+++ b/steps/plot_results.cwl
@@ -6,7 +6,7 @@ baseCommand: plot_results.py
 label: "HBP Showcase 3: Plot results"
 hints:
   DockerRequirement:
-    dockerPull: docker-registry.ebrains.eu/sc3/plot_results:latest
+    dockerPull: docker-registry.ebrains.eu/sc3/plot_results@sha256:148c230a9d62cc217e24f0c39c1269829e766e9be926fbd1584914eb3ffd5eee
 
 inputs:
   results_folder:
diff --git a/steps/run_simulation.cwl b/steps/run_simulation.cwl
index c8d04b2..8297de2 100644
--- a/steps/run_simulation.cwl
+++ b/steps/run_simulation.cwl
@@ -6,7 +6,7 @@ baseCommand: run_simulation.py
 label: "HBP Showcase 3: Run simulation"
 hints:
   DockerRequirement:
-    dockerPull: docker-registry.ebrains.eu/sc3/run_simulation:latest
+    dockerPull: docker-registry.ebrains.eu/sc3/run_simulation@sha256:915468bc91013e3d742d97e9bbe00373a1b243a1f70c2560fe29aac94d30fa4d
 
 inputs:
   folder_root:
-- 
GitLab