Prepare universal workflow

This commit is contained in:
Alexey Pustovalov 2024-02-09 21:56:56 +09:00
parent eb7d1dc940
commit 0177353712

View File

@ -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