Better python code

This commit is contained in:
Ayaz Salikhov
2022-05-13 15:06:29 +03:00
parent cd178aa889
commit ffe33b1335
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ def tag_image(short_image_name: str, owner: str, tags_prefix: str) -> None:
"tag", image, f"{owner}/{short_image_name}:{tags_prefix}{tag_value}"
]()
if tags_prefix != "":
LOGGER.info("Changing :latest tag to include tags_prefix")
LOGGER.info(f"Changing :latest tag to include {tags_prefix=}")
docker["tag", image, f"{owner}/{short_image_name}:{tags_prefix}latest"]()
docker["rmi", image]()