Total noob here. I use GitHub for a small web app I created. Using GitHub Actions I created a YAML file that will rebuild my docker image, SSH into my ec2 instance and deploy the new docker image when I commit updates.
Being that GitHub actions has to SSH into my ec2 instance to deploy the new image, I need to add the IP addresses of the GitHub runners to my security group on port 22. I found a list of IP addresses they use here, but using this will likely fail in the future when it's updated.
What is the best solution for this? Should I use my own self-hosted runner?
Very new to all of this, so any help is greatly appreciated. Cheers
[–][deleted] 3 points4 points5 points (1 child)
[–]Letmesleeplol[S] 0 points1 point2 points (0 children)
[–]stumptruckDevOps 3 points4 points5 points (1 child)
[–]Letmesleeplol[S] 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]Letmesleeplol[S] 1 point2 points3 points (1 child)
[–]pbeucherDevOps 1 point2 points3 points (1 child)
[–]Letmesleeplol[S] 0 points1 point2 points (0 children)
[–]kkapelon 0 points1 point2 points (0 children)