How to Access Azure Container Registry from GitHub Actions?

0
3
Asked By CuriousPanda92 On

I'm trying to log in to my private Azure Container Registry (ACR) using a GitHub-hosted runner on Ubuntu. The problem is that our ACR is set up with a private endpoint and only accepts connections from my VPN IP due to firewall settings. Since the GitHub runner isn't part of my Azure VNet, I'm running into a firewall denied access error. Is there a way to connect to my ACR through the GitHub runner?

2 Answers

Answered By TechyTurtle54 On

Unfortunately, direct access from a GitHub-hosted runner to a private ACR isn't possible because of your firewall settings. To resolve this, you might want to consider setting up your own self-hosted runner within your Azure environment, which would have the necessary network access. That way, it can communicate with your ACR without firewall issues.

Answered By CloudExplorer77 On

I've heard that GitHub Actions recently added a feature that allows you to deploy their runners into your own VNet. It might be worth checking out this option, especially if you're looking for a more integrated solution. You can find more details in their documentation about Azure private networking for hosted runners.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.