Skip to content

Commit

Permalink
Do the curl in a seperate line and do some basic curl options
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Hugo Prins committed Jan 10, 2024
1 parent f50b04d commit ebed6cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ jobs:
xz-utils \
gawk
KBS_VERS=$(curl -fsSL --retry-delay 1 --retry 60 --retry-connrefused --retry-max-time 60 --connect-timeout 20 https://raw.githubusercontent.com/kubernetes/website/main/data/releases/schedule.yaml | yq -r '.schedules[].previousPatches[0].release' | awk '{print "kubernetes-v"$1}')
KBS_VERS_ARRAY=(${KBS_VERS})
images=(
$(curl https://raw.githubusercontent.com/kubernetes/website/main/data/releases/schedule.yaml | yq -r '.schedules[].previousPatches[0].release' | awk '{print "kubernetes-v"$1}')
"docker-24.0.6"
"docker_compose-2.22.0"
"wasmtime-13.0.0"
)
images+=(${KBS_VERS_ARRAY[@]})
streams=()
for image in "${images[@]}"; do
Expand Down

0 comments on commit ebed6cf

Please sign in to comment.