File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ function alpine_cache_key_for_image_kernel() {
131131}
132132
133133function alpine_image_entry_for_image_kernel() {
134- local location=$1 kernel_is_not_supported=$2 overriding=${3:- " {} " } url_spec image_entry=''
134+ local location=$1 kernel_is_not_supported=$2 overriding=${3:- ' {"path_version":"latest-stable"} ' } url_spec image_entry=''
135135 [[ ${kernel_is_not_supported} == " null" ]] || echo " Updating kernel information is not supported on Alpine Linux" >&2
136136 url_spec=$( alpine_url_spec_from_location " ${location} " | jq -r " . + ${overriding} " )
137137 image_entry=$( alpine_latest_image_entry_for_url_spec " ${url_spec} " )
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ function fedora_cache_key_for_image_kernel() {
152152}
153153
154154function fedora_image_entry_for_image_kernel() {
155- local location=$1 kernel_is_not_supported=$2 overriding=${3:- " {} " } url_spec image_entry=''
155+ local location=$1 kernel_is_not_supported=$2 overriding=${3:- ' {"path_version":"releases/\\d+"} ' } url_spec image_entry=''
156156 [[ ${kernel_is_not_supported} == " null" ]] || echo " Updating kernel information is not supported on Fedora Linux" >&2
157157 url_spec=$( fedora_url_spec_from_location " ${location} " | jq -r " . + ${overriding} " )
158158 image_entry=$( fedora_latest_image_entry_for_url_spec " ${url_spec} " )
186186fi
187187
188188declare -a templates=()
189- declare overriding='{" path_version " : " releases/ \\ d+ " }'
189+ declare overriding='{}'
190190while [[ $# -gt 0 ]]; do
191191 case " $1 " in
192192 -h | --help)
You can’t perform that action at this time.
0 commit comments