Introduction
GitHub’s actions are an awesome way to have CI on GitHub. It runs on VM, can run Container and even release things for you. First, you need to specify the events that trigger the action.
Then you need to use pre-defined actions to install the required tools:
- @actions/setup-node
- @actions/setup-go
- @actions/setup-python
- @azure/setup-helm
- @extractions/setup-just
Note
To reduce the build time, use caching mechanisms. Usually official setup tools supports caching based on the dependency management tools (e.g.
go.sum
,packages-lock.json
, etc.)
For some programming languages, there is no official action:
- GitHub Action to compile LaTeX documents
- Sets up
Tectonic
in your GitHub Actions workflow, so you can compile your LaTeX documents
For building docker images and pushing them you can use:
- GitHub Action to build and push Docker images with
Buildx
- GitHub Action to extract metadata (tags, labels) from Git reference and GitHub events for Docker
For releasing Helm charts (using HTTP Helm repositories not OCI one):
For doing release: