Skip to content

Commit

Permalink
Add: sort digest in manifest action
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalholthaus authored and greenbonebot committed Aug 6, 2024
1 parent 532b898 commit 4285b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container-multi-arch-manifest/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ runs:
echo "Used arguments: ${manifest_annotations[@]} ${manifest_tags[@]} ${manifest_images[@]}"
set +e
out=$(docker buildx imagetools create "${manifest_annotations[@]}" "${manifest_tags[@]}" "${manifest_images[@]}" 2>&1)
manifest_digest=$(echo "$out" | grep -o 'sha256:[a-f0-9]\{64\}')
manifest_digest=$(echo "$out" | grep -o 'sha256:[a-f0-9]\{64\}' | sort -u)
set -e
if ! [ "$manifest_digest" ]; then
echo "$out"
Expand Down

0 comments on commit 4285b97

Please sign in to comment.