mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 14:26:48 +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")) {
|
||||
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
|
||||
if ($AgentIp) {
|
||||
$AgentIp = '[ \"{0}\" ]' -f $AgentIp
|
||||
} else {
|
||||
$AgentIp = "[]"
|
||||
}
|
||||
}
|
||||
|
||||
if ($Tags) {
|
||||
|
||||
Reference in New Issue
Block a user