Skip to content

Private networking for GitHub-hosted runners #120785

Closed Answered by stan-spotts
stan-spotts asked this question in Actions
Discussion options

You must be logged in to vote

I fixed the problem. This all works without public access, with a private IP defined for the VM. It turned out that the documentation did not include enough in the bicep contents to set up the NSG. In order for azure/login to work (and docker/action-login), I had to add the following to the bicep contents:

{
        name: 'AllowAzureCloudOutbound'
        properties: {
          protocol: 'TCP'
          sourcePortRange: '*'
          destinationPortRange: '443'
          destinationAddressPrefix: 'AzureCloud'
          access: 'Allow'
          priority: 100
          direction: 'Outbound'
          destinationAddressPrefixes: []
        }
      }
      {
        name: 'AllowAzureADOutbo…

Replies: 2 comments 3 replies

This comment was marked as spam.

@stan-spotts
Comment options

@david-wei-01001

This comment was marked as spam.

@stan-spotts
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by stan-spotts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
2 participants