mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
Fix typo
This commit is contained in:
@@ -27,7 +27,7 @@ def apply_tags(
|
|||||||
"""
|
"""
|
||||||
LOGGER.info(f"Tagging image: {short_image_name}")
|
LOGGER.info(f"Tagging image: {short_image_name}")
|
||||||
|
|
||||||
image = f"${registry}/{owner}/{short_image_name}:latest"
|
image = f"{registry}/{owner}/{short_image_name}:latest"
|
||||||
filename = f"{platform}-{short_image_name}.txt"
|
filename = f"{platform}-{short_image_name}.txt"
|
||||||
tags = (tags_dir / filename).read_text().splitlines()
|
tags = (tags_dir / filename).read_text().splitlines()
|
||||||
|
|
||||||
|
@@ -24,11 +24,11 @@ def write_tags_file(
|
|||||||
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)
|
||||||
|
|
||||||
image = f"${registry}/{owner}/{short_image_name}:latest"
|
image = f"{registry}/{owner}/{short_image_name}:latest"
|
||||||
tags_prefix = get_platform()
|
tags_prefix = get_platform()
|
||||||
filename = f"{tags_prefix}-{short_image_name}.txt"
|
filename = f"{tags_prefix}-{short_image_name}.txt"
|
||||||
|
|
||||||
tags = [f"${registry}/{owner}/{short_image_name}:{tags_prefix}-latest"]
|
tags = [f"{registry}/{owner}/{short_image_name}:{tags_prefix}-latest"]
|
||||||
with DockerRunner(image) as container:
|
with DockerRunner(image) as container:
|
||||||
for tagger in taggers:
|
for tagger in taggers:
|
||||||
tagger_name = tagger.__class__.__name__
|
tagger_name = tagger.__class__.__name__
|
||||||
|
@@ -17,7 +17,7 @@ def test_image(short_image_name: str, registry: str, owner: str) -> None:
|
|||||||
LOGGER.info(f"Testing image: {short_image_name}")
|
LOGGER.info(f"Testing image: {short_image_name}")
|
||||||
test_dirs = get_test_dirs(short_image_name)
|
test_dirs = get_test_dirs(short_image_name)
|
||||||
LOGGER.info(f"Test dirs to be run: {test_dirs}")
|
LOGGER.info(f"Test dirs to be run: {test_dirs}")
|
||||||
with plumbum.local.env(TEST_IMAGE=f"${registry}/{owner}/{short_image_name}"):
|
with plumbum.local.env(TEST_IMAGE=f"{registry}/{owner}/{short_image_name}"):
|
||||||
(
|
(
|
||||||
python3[
|
python3[
|
||||||
"-m",
|
"-m",
|
||||||
|
Reference in New Issue
Block a user