mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 18:17:26 +08:00
Add additional agent info (#499)
* add agent additional info * add agent additional info * add agent additional info
This commit is contained in:
committed by
GitHub
parent
531fe345a2
commit
42417eb98f
@@ -19,6 +19,7 @@
|
||||
"root_folder": "C:",
|
||||
"image_folder": "C:\\image",
|
||||
"commit_file": "C:\\image\\commit.txt",
|
||||
"imagedata_file": "C:\\imagedata.json",
|
||||
"metadata_file": "C:\\image\\metadata.txt",
|
||||
"helper_script_folder": "C:\\Program Files\\WindowsPowerShell\\Modules\\",
|
||||
"commit_id": "LATEST",
|
||||
@@ -120,6 +121,16 @@
|
||||
"setx ImageOS {{user `image_os` }} /m"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"environment_vars": [
|
||||
"IMAGE_VERSION={{user `image_version`}}",
|
||||
"IMAGEDATA_FILE={{user `imagedata_file`}}"
|
||||
],
|
||||
"scripts":[
|
||||
"{{ template_dir }}/scripts/Installers/Update-ImageData.ps1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
"scripts":[
|
||||
|
||||
Reference in New Issue
Block a user