Remplacement des '/' par '_' dans le tag d'image
This commit is contained in:
parent
68ca0365ae
commit
8db349571a
2
package
2
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 ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user