Building Fast, Tiny GitHub Actions with Go and Docker
steele.blue·323w
Preview
Report Post

GitHub Actions are sweet! It’s still in beta but it’s a great way to automate tasks after things happen like code pushes, comments on Issues, pull requests, etc.

As an author of a GitHub Action, I’m really enamored by the architecture: each “build” is run on a virtual machine in Azure, with each action running inside a Docker container that GitHub executes. As Kyle Daigle mentions on a Changelog podcast::

As a small developer my entire side business could be a Docker container. Not running it, not supporting the payment for it, just a Docker container.

GitHub does this by building and executing your Docker container on the fly. So if you want your Action to finish quickly, you’ll want to sp…

Similar Posts

Loading similar posts...