File tree 2 files changed +3
-3
lines changed
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() {
131
131
}
132
132
133
133
function 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=''
135
135
[[ ${kernel_is_not_supported} == " null" ]] || echo " Updating kernel information is not supported on Alpine Linux" >&2
136
136
url_spec=$( alpine_url_spec_from_location " ${location} " | jq -r " . + ${overriding} " )
137
137
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() {
152
152
}
153
153
154
154
function 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=''
156
156
[[ ${kernel_is_not_supported} == " null" ]] || echo " Updating kernel information is not supported on Fedora Linux" >&2
157
157
url_spec=$( fedora_url_spec_from_location " ${location} " | jq -r " . + ${overriding} " )
158
158
image_entry=$( fedora_latest_image_entry_for_url_spec " ${url_spec} " )
186
186
fi
187
187
188
188
declare -a templates=()
189
- declare overriding='{" path_version " : " releases/ \\ d+ " }'
189
+ declare overriding='{}'
190
190
while [[ $# -gt 0 ]]; do
191
191
case " $1 " in
192
192
-h | --help)
You can’t perform that action at this time.
0 commit comments