From a831ce00df84d94e2bdb48013f650bcbb5b39568 Mon Sep 17 00:00:00 2001 From: Marco Ceppi Date: Tue, 28 Feb 2023 09:11:09 -0500 Subject: [PATCH] fix: re-tag image (#92) --- .github/workflows/pr-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pr-publish.yml b/.github/workflows/pr-publish.yml index 69dc7d58a5..c233efaf62 100644 --- a/.github/workflows/pr-publish.yml +++ b/.github/workflows/pr-publish.yml @@ -46,6 +46,10 @@ jobs: cat image cat tags podman load -i image.tar + image_name="localhost/$(head -n1 image):$(head -n1 tags)" + for t in $(cat tags); do + podman tag $image_name $(head -n1 image):$t + done echo image="$(cat image)" >> $GITHUB_OUTPUT delimiter="$(openssl rand -hex 8)" {