Improve artifacts handling and writing manifest

This commit is contained in:
Ayaz Salikhov
2022-07-05 19:44:25 +04:00
parent 9ff6f86eed
commit 16a2b81ea9
6 changed files with 19 additions and 22 deletions

View File

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