From 1d2406b7309ee4a516247f492f9f18a3460f8aa9 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Thu, 19 Oct 2023 20:12:17 +0200 Subject: [PATCH] Fix typo --- tagging/apply_tags.py | 2 +- tagging/write_tags_file.py | 4 ++-- tests/run_tests.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tagging/apply_tags.py b/tagging/apply_tags.py index a7ea586c..e8129167 100755 --- a/tagging/apply_tags.py +++ b/tagging/apply_tags.py @@ -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() diff --git a/tagging/write_tags_file.py b/tagging/write_tags_file.py index e0afd33a..ef4e1b0b 100755 --- a/tagging/write_tags_file.py +++ b/tagging/write_tags_file.py @@ -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__ diff --git a/tests/run_tests.py b/tests/run_tests.py index e2d6d7af..6263be6d 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -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",