Skip to content

Commit

Permalink
chore: add more debug output for image pull ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SteinRobert committed Sep 5, 2023
1 parent 077ee0b commit 4433311
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/gefyra/local/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def handle_docker_create_container(
try:
config.DOCKER.images.get(image)
except docker.errors.ImageNotFound:
repo, version = image.split(":")
logger.debug("Pulling cargo image.")
config.DOCKER.images.pull(repository=repo, tag=version)
repo, tag = image.split(":")
logger.debug(f"Pulling {repo}:{tag} image.")
config.DOCKER.images.pull(repository=repo, tag=tag)

return config.DOCKER.containers.create(
image,
Expand Down

0 comments on commit 4433311

Please sign in to comment.