Skip to content

Commit

Permalink
dont split image and tag
Browse files Browse the repository at this point in the history
  • Loading branch information
reschandreas committed Feb 27, 2024
1 parent 224853c commit bcfb263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/classes/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def parse_docker(docker_config: Optional[BambooDockerConfig], environment: Envir
environment=environment, haystack=docker_config.docker_run_arguments
)
docker = Docker(
image=docker_config.image if ":" not in docker_config.image else docker_config.image.split(":")[0],
tag=docker_config.image.split(":")[1] if ":" in docker_config.image else "latest",
image=docker_config.image,
tag=None,
volumes=volume_list,
parameters=arguments,
)
Expand Down

0 comments on commit bcfb263

Please sign in to comment.