mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
Change URL for packages (#11997)
* fix:URL for packages * chore Add co-author > > Co-authored-by: greg dryke <no-reply@github.com> * chore: Incorporate Review comments * fix: remove redundant initialization
This commit is contained in:
@@ -164,7 +164,7 @@ Function GenerateResourcesAndImage {
|
||||
|
||||
# Prepare list of allowed inbound IP addresses
|
||||
if ($RestrictToAgentIpAddress) {
|
||||
$AgentIp = (Invoke-RestMethod http://ipinfo.io/json).ip
|
||||
$AgentIp = (Invoke-RestMethod https://ipinfo.io/json).ip
|
||||
if (-not $AgentIp) {
|
||||
throw "Unable to determine agent IP address."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user