diff --git a/.github/workflows/images_build_windows.yml b/.github/workflows/images_build_windows.yml index 815550f8c..f794d8fe9 100644 --- a/.github/workflows/images_build_windows.yml +++ b/.github/workflows/images_build_windows.yml @@ -237,7 +237,8 @@ jobs: TAGS: ${{ steps.meta.outputs.tags }} run: | $images="" - foreach ($tag in $Env:TAGS) { + $tags_array=$( "$Env:TAGS".Split("`n") ) + foreach ($tag in $tags_array) { $images=$images + "$tag@$Env:DIGEST " } cosign sign --yes $images