A custom image with some pre-installed dependencies for Github self-hosted runner.
You can build the image by any standard Docker image building way, such as
docker buildx build -t gh-runner:latest .The image will install following packages/tools
There is also a GitHub workflow, that will build the image, tag it with appropriate ARC runner version and push it to Harbor.
Every monday at 9 AM UTC, the workflow will check for updates and if there are any, it will create a pull request with the updated version adn send update to #alerts-github channel.
Note
Please note, that yarn will need some valid NodeJS runtime to work. You can install such runtime, for example, by setup-node action.
To deploy/redeploy new version of this runner, you have to:
- Execute the GitHub workflow. If you see that it already run this week, just take the latest image from our Harbor repository.
- Once you have the correct image tag, you need to change this line in our Azure Infrastructure repository, through Pull Request.
- Merge it, automatic pipeline will run and deploy the change.
Tip
If you decide to build image locally, tag it with latest version from this ARC Docker repository. The tag should be something like vX.XXX.X-ubuntu-20.04.