mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
add all the other ubuntu templates
This commit is contained in:
@@ -90,6 +90,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
|
||||||
"scripts":[
|
"scripts":[
|
||||||
"{{template_dir}}/scripts/installers/preparemetadata.sh"
|
"{{template_dir}}/scripts/installers/preparemetadata.sh"
|
||||||
],
|
],
|
||||||
@@ -98,8 +99,7 @@
|
|||||||
"METADATA_FILE={{user `metadata_file`}}",
|
"METADATA_FILE={{user `metadata_file`}}",
|
||||||
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
|
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
|
||||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||||
],
|
]
|
||||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
|||||||
@@ -93,6 +93,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
"execute_command": "chmod +x {{ .Path }}; sudo {{ .Vars }} {{ .Path }}",
|
||||||
"scripts":[
|
"scripts":[
|
||||||
"{{template_dir}}/scripts/installers/preparemetadata.sh"
|
"{{template_dir}}/scripts/installers/preparemetadata.sh"
|
||||||
],
|
],
|
||||||
@@ -101,8 +102,7 @@
|
|||||||
"METADATA_FILE={{user `metadata_file`}}",
|
"METADATA_FILE={{user `metadata_file`}}",
|
||||||
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
|
"HELPER_SCRIPTS={{user `helper_script_folder`}}",
|
||||||
"ANNOUNCEMENTS={{user `announcements`}}"
|
"ANNOUNCEMENTS={{user `announcements`}}"
|
||||||
],
|
]
|
||||||
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
|||||||
Reference in New Issue
Block a user