Create a Helm Repo with Github Actions and Github Pages

Опубликовано: 13 Октябрь 2024
на канале: Learn Fast Make Things
5,582
53

This video demonstrates creating a Helm chart repo for your helm chart using free Github actions and Github pages.

I found during the creation of this video that the "off the shelf" version of the chart release action created by Helm is only applicable if you want to push your helm repo when changes are made to the git mainline branch. This video shows how to use a modified version of the action that will instead use git tags to build and tag the helm chart and the docker container.

This is, in my opinion, the best way to version control your work since it ensures both the container image and the helm chart are always in sync with the same tag. Additionally, that tag appears in the Github repo so it is clear to everyone exactly what code they are installing.

The links mentioned in this video

Full tutorial series:    • Build a Golang REST API with Kubernet...  
Link to my changes to the "off the shelf" action: https://github.com/helm/chart-release...
Original chart-releaser-action: https://github.com/helm/chart-release...
Ask Cloud Architech on GitHub: https://github.com/askcloudarchitech
Ask Cloud Architech website: https://askcloudarchitech.com/

00:00 - Intro
00:15 - Demo of tag action and helm chart repo
03:04 - The problem with the chart-releaser action
04:24 - Upgrading to use my fork
05:22 - Create a custom packaging step
07:59 - Full demonstration of working repo