mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
Add ImageRepositoryPath env variable for Ubuntu 22 (#5462)
* Use image_repository_path variable * Add ImageRepositoryPath to build image script
This commit is contained in:
@@ -19,6 +19,9 @@ if (-not (Test-Path $TemplatePath))
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Set Image repository path env variable, this is a workaround for Ubuntu 22.04 until this is fixed https://github.com/hashicorp/packer/issues/11733
|
||||
$env:ImageRepositoryPath = "."
|
||||
|
||||
$Image = [io.path]::GetFileNameWithoutExtension($TemplatePath)
|
||||
$TempResourceGroupName = "${ResourcesNamePrefix}_${Image}"
|
||||
$InstallPassword = [System.GUID]::NewGuid().ToString().ToUpper()
|
||||
|
||||
Reference in New Issue
Block a user