This commit is contained in:
Ayaz Salikhov
2023-10-19 20:12:17 +02:00
parent 8831660cf6
commit 1d2406b730
3 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ def apply_tags(
"""
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"
tags = (tags_dir / filename).read_text().splitlines()

View File

@@ -24,11 +24,11 @@ def write_tags_file(
LOGGER.info(f"Tagging image: {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()
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:
for tagger in taggers:
tagger_name = tagger.__class__.__name__

View File

@@ -17,7 +17,7 @@ def test_image(short_image_name: str, registry: str, owner: str) -> None:
LOGGER.info(f"Testing image: {short_image_name}")
test_dirs = get_test_dirs(short_image_name)
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[
"-m",