Skip to content

Commit

Permalink
Fix output usage in push action
Browse files Browse the repository at this point in the history
  • Loading branch information
luhi-DT committed Jun 13, 2024
1 parent 8595551 commit 41e7d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/build/ci/upload-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ docker tag "${srcImage}" "${targetImage}"
imageinfo=$(docker push "${targetImage}")

# filtering by image-tag directly does not work currently see: https://github.com/moby/moby/issues/29901
digest=$(echo "$imageinfo" | cut -d " " -f 3)
digest=$(echo "$imageinfo" | tail -n 1 | cut -d " " -f 3)
echo "digest=${digest}">> "$GITHUB_OUTPUT"

0 comments on commit 41e7d73

Please sign in to comment.