geoffwilliams@home:~$

Github Actions example

Introduction

Lets take Github Actions for a spin by trying it out on a project. I have an existing repository to build container images for various crypto daemons so lets see how we go building it with Actions

Review

Github Actions is great. The documentation was spot on and everything I tried worked as described. The Ubuntu image I tried was up-to-date and even included buildah and podman so I was able to build container images without needing to install these tools or use Docker.

Example project

https://github.com/declarativesystems/cryptodaemons

CI features

In the .github/actions directory

  • Encrypted secrets
  • Only build master branch
  • Exclude markdown files from triggering CI
  • Called workflow with parameters
  • Optional manual trigger of called workflow with parameters
  • Parallel builds
  • Build OCI container images with buildah
  • Push images to quay.io with podman

Post comment