From 1a6961d2c0329cf15c4c6a2c3e8d25973d6a525e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 3 Feb 2025 16:49:04 -0800 Subject: [PATCH] workflows/build-ci-container: Fix container push After the changes in 89001d1de8ecf03c8820594ea03345b99560272a, the container pushes failed, because it was attempting to push the same container twice. This fixes the sed expression used to push the :latest alias for each container. --- .github/workflows/build-ci-container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml index c419986da79f2..8272c8f6e266f 100644 --- a/.github/workflows/build-ci-container.yml +++ b/.github/workflows/build-ci-container.yml @@ -96,7 +96,7 @@ jobs: run: | function push_container { image_name=$1 - latest_name=$(echo $image_name | sed 's/:[.0-9]\+$/:latest/g') + latest_name=$(echo $image_name | sed 's/:[a-f0-9]\+$/:latest/g') podman tag $image_name $latest_name echo "Pushing $image_name ..." podman push $image_name