mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
fix variable name (#2964)
This commit is contained in:
@@ -8,17 +8,17 @@ github_url="https://github.com/actions/virtual-environments/blob"
|
|||||||
|
|
||||||
if [[ "$image_label" =~ "ubuntu-20" ]]; then
|
if [[ "$image_label" =~ "ubuntu-20" ]]; then
|
||||||
software_url="${github_url}/ubuntu20/${image_version}/images/linux/Ubuntu2004-README.md"
|
software_url="${github_url}/ubuntu20/${image_version}/images/linux/Ubuntu2004-README.md"
|
||||||
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F${imageVersion}"
|
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F${image_version}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$image_label" =~ "ubuntu-18" ]]; then
|
if [[ "$image_label" =~ "ubuntu-18" ]]; then
|
||||||
software_url="${github_url}/ubuntu18/${image_version}/images/linux/Ubuntu1804-README.md"
|
software_url="${github_url}/ubuntu18/${image_version}/images/linux/Ubuntu1804-README.md"
|
||||||
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F${imageVersion}"
|
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F${image_version}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$image_label" =~ "ubuntu-16" ]]; then
|
if [[ "$image_label" =~ "ubuntu-16" ]]; then
|
||||||
software_url="${github_url}/ubuntu16/${image_version}/images/linux/Ubuntu1604-README.md"
|
software_url="${github_url}/ubuntu16/${image_version}/images/linux/Ubuntu1604-README.md"
|
||||||
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu16%2F${imageVersion}"
|
releaseUrl="https://github.com/actions/virtual-environments/releases/tag/ubuntu16%2F${image_version}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat <<EOF > $imagedata_file
|
cat <<EOF > $imagedata_file
|
||||||
|
|||||||
Reference in New Issue
Block a user