Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: fix broken pipe
Browse files Browse the repository at this point in the history
trevorwhitney committed Oct 16, 2024

Verified

This commit was signed with the committer’s verified signature.
trevorwhitney Trevor Whitney
1 parent 95f394f commit bded131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/helm-weekly-release.sh
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ find_latest_image_tag() {
crane_results=$(crane ls "${docker_hub_repo}" | grep -P "${regExp}")
local sorted_results
sorted_results="$(echo "${crane_results}" | sed -E "s/([weekly-]*k[[:digit:]]*)-([^-]*).*/\1-\2/g" | sort -Vur)"
echo "${sorted_results}" | head -1
echo "${sorted_results}" | tail -n +1 | head -1
}

# takes k197-abcdef and returns r197, k197-abcdef-arm64 and returns k197, weekly-k197-abcdef and returns k197

0 comments on commit bded131

Please sign in to comment.