mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-08 10:34:06 +00:00
Improve text in tagging files
This commit is contained in:
@@ -22,8 +22,8 @@ def apply_tags(
|
|||||||
platform: str,
|
platform: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
Tags <owner>/<short_image_name>:latest with the tags
|
Tags <registry>/<owner>/<short_image_name>:latest with the tags reported by all taggers for this image
|
||||||
reported by all taggers for the given image.
|
Then removes latest tag
|
||||||
"""
|
"""
|
||||||
LOGGER.info(f"Tagging image: {short_image_name}")
|
LOGGER.info(f"Tagging image: {short_image_name}")
|
||||||
|
|
||||||
|
@@ -97,19 +97,19 @@ if __name__ == "__main__":
|
|||||||
"--wiki-dir",
|
"--wiki-dir",
|
||||||
required=True,
|
required=True,
|
||||||
type=Path,
|
type=Path,
|
||||||
help="Directory for wiki repo",
|
help="Directory of the wiki repo",
|
||||||
)
|
)
|
||||||
arg_parser.add_argument(
|
arg_parser.add_argument(
|
||||||
"--hist-line-dir",
|
"--hist-line-dir",
|
||||||
required=True,
|
required=True,
|
||||||
type=Path,
|
type=Path,
|
||||||
help="Directory to save history line",
|
help="Directory with history lines",
|
||||||
)
|
)
|
||||||
arg_parser.add_argument(
|
arg_parser.add_argument(
|
||||||
"--manifest-dir",
|
"--manifest-dir",
|
||||||
required=True,
|
required=True,
|
||||||
type=Path,
|
type=Path,
|
||||||
help="Directory to save manifest file",
|
help="Directory with manifest files",
|
||||||
)
|
)
|
||||||
args = arg_parser.parse_args()
|
args = arg_parser.parse_args()
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@ def write_tags_file(
|
|||||||
tags_dir: Path,
|
tags_dir: Path,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""
|
"""
|
||||||
Writes tags file for the image <owner>/<short_image_name>:latest
|
Writes tags file for the image <registry>/<owner>/<short_image_name>:latest
|
||||||
"""
|
"""
|
||||||
LOGGER.info(f"Tagging image: {short_image_name}")
|
LOGGER.info(f"Tagging image: {short_image_name}")
|
||||||
taggers, _ = get_taggers_and_manifests(short_image_name)
|
taggers, _ = get_taggers_and_manifests(short_image_name)
|
||||||
|
Reference in New Issue
Block a user