From a6e1c4e91974c7500085cfaa732c91d3ae9d5e44 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Mon, 27 Jan 2025 12:12:03 +0800 Subject: [PATCH] Print build_push_task output The output includes output from tkn-bundle-push and skopeo-copy. Both of them should be output. --- hack/build-and-push.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/build-and-push.sh b/hack/build-and-push.sh index 89aa9ceb63..06cca50d4e 100755 --- a/hack/build-and-push.sh +++ b/hack/build-and-push.sh @@ -482,6 +482,8 @@ build_push_tasks() { echo "info: push new bundle $task_bundle" 1>&2 output=$(build_push_task "$task_dir" "$prepared_task_file" "$task_bundle" "$task_file_sha" "$has_migration") + echo "$output" >&2 + echo task_bundle_with_digest=$(grep -m 1 "^Pushed Tekton Bundle to" <<<"$output" 2>/dev/null) task_bundle_with_digest=${task_bundle_with_digest##* }