From 8db349571a98ee7ec8a34a83618c474feead957b Mon Sep 17 00:00:00 2001 From: William Petit Date: Tue, 21 Feb 2023 10:59:40 +0100 Subject: [PATCH] Remplacement des '/' par '_' dans le tag d'image --- package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package b/package index 64c88c4..cac8fd0 100755 --- a/package +++ b/package @@ -41,7 +41,7 @@ def build_image(build_workspace, base_image, profile_name, profile, debug=False, # Run hooks tamarin.run_profile_hooks(profile, 'containerbuild', cwd=build_workspace, env=hooks_env, debug=debug) - image_tag = "tamarin:{:s}_{:s}_{:d}".format(profile_name, base_image.replace(':', '_'), os.getpid()) + image_tag = "tamarin:{:s}_{:s}_{:d}".format(profile_name, base_image.replace(':', '_').replace('/', '_'), os.getpid()) build_args = [ "build", "-t", image_tag ]