Skip to content

Commit

Permalink
remove redundant sha on bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
joejstuart committed Jul 22, 2024
1 parent 7931904 commit f1aee73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/build-and-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ do
tag=${TEST_REPO_NAME:+${task_name}-}${task_version}
task_bundle=quay.io/$QUAY_NAMESPACE/${repository}:${tag}-${task_file_sha}

if digest=$(skopeo inspect --no-tags --format='{{.Digest}}' docker://"${task_bundle}-${task_file_sha}" 2>/dev/null); then
if digest=$(skopeo inspect --no-tags --format='{{.Digest}}' docker://"${task_bundle}" 2>/dev/null); then
task_bundle_with_digest=${task_bundle}@${digest}
else
output=$(tkn_bundle_push -f "$prepared_task_file" "$task_bundle" | save_ref "$task_bundle" "$OUTPUT_TASK_BUNDLE_LIST")
Expand Down

0 comments on commit f1aee73

Please sign in to comment.