mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
Update allowed_inbound_ip_addresses default condition (#5602)
This commit is contained in:
committed by
GitHub
parent
c3fb682f73
commit
12cbf387ca
@@ -266,7 +266,11 @@ Function GenerateResourcesAndImage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($builderScriptPath.Contains("pkr.hcl")) {
|
if ($builderScriptPath.Contains("pkr.hcl")) {
|
||||||
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
|
if ($AgentIp) {
|
||||||
|
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
|
||||||
|
} else {
|
||||||
|
$AgentIp = "[]"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($Tags) {
|
if ($Tags) {
|
||||||
|
|||||||
Reference in New Issue
Block a user