From fc4029073cbc90ca7f0731b0603208d074447407 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Fri, 16 Jul 2021 18:05:23 +0300 Subject: [PATCH] Add tag_image docstring Co-authored-by: Erik Sundell --- tagging/tag_image.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tagging/tag_image.py b/tagging/tag_image.py index 3aef779a..dc0c9ad1 100755 --- a/tagging/tag_image.py +++ b/tagging/tag_image.py @@ -12,6 +12,10 @@ logger = logging.getLogger(__name__) def tag_image(short_image_name: str, owner: str) -> None: + """ + Tags /:latest with the tags reported by all taggers + for the given image. + """ logger.info(f"Tagging image: {short_image_name}") taggers, _ = get_taggers_and_manifests(short_image_name)