mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-22 15:53:35 +01:00
Prepare universal workflow
This commit is contained in:
parent
7f12722c2d
commit
46064586c0
6
.github/workflows/images_build_windows.yml
vendored
6
.github/workflows/images_build_windows.yml
vendored
@ -238,12 +238,14 @@ jobs:
|
||||
run: |
|
||||
$images=""
|
||||
$tags_array=$( "$Env:TAGS".Split("`n") )
|
||||
$tags_final=@()
|
||||
foreach ($tag in $tags_array) {
|
||||
$tag_name=$tag.Split(":")[0]
|
||||
$images=$images + "$tag_name@$Env:DIGEST "
|
||||
$tags_final.Add("$tag_name@$Env:DIGEST")
|
||||
}
|
||||
echo "$images"
|
||||
cosign sign --yes $images
|
||||
echo "$tags_final"
|
||||
cosign sign --yes $tags_final
|
||||
|
||||
- name: Image digest
|
||||
if: ${{ env.AUTO_PUSH_IMAGES }}
|
||||
|
Loading…
Reference in New Issue
Block a user