From 9185662fe8cf0810c6dee63a07378b304cde4c2e Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Tue, 3 Dec 2024 10:58:17 +0900 Subject: [PATCH] fix(.github): not push manifest if eithor `amd64` or `arm64` image is missing (#5525) not push manifest if eithor amd64 or arm64 is missing Signed-off-by: Yutaka Kondo --- .github/actions/combine-multi-arch-images/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/combine-multi-arch-images/action.yaml b/.github/actions/combine-multi-arch-images/action.yaml index 8c446c5ff2c..43779450543 100644 --- a/.github/actions/combine-multi-arch-images/action.yaml +++ b/.github/actions/combine-multi-arch-images/action.yaml @@ -82,14 +82,14 @@ runs: amd64_image="${{ steps.set-image-name.outputs.image-name }}:$amd64_tag" else echo "No amd64 tag found for '$base_tag'." - amd64_image="" + continue fi if [ "$arm64_tag" != "" ]; then arm64_image="${{ steps.set-image-name.outputs.image-name }}:$arm64_tag" else echo "No arm64 tag found for '$base_tag'." - arm64_image="" + continue fi echo "amd64_image: $amd64_image"