Short guide about how to build Docker images with kaniko on Kubernetes-based GitLab Runners
👇🏻
https://www.pachamamita.de/posts/kubernetes/kaniko-gitlab-runner/
#kaniko #gitlab #kubernetes #docker #pipeline
I worked around the problem with the #Github Actions Runner by trying out #Tekton instead and it worked! At first at least. The image was built and pushed, but I then discovered that #Kaniko had used #Docker layers on top of the existing #OCI Layers of the Image. That made for an invalid image, at least for my use-case…
#selfhosted #homelab #kubernetes #cicd
#github #tekton #kaniko #docker #oci #selfhosted #homelab #kubernetes #cicd
@dragnucs Difficult and embarassing topic.
I wrote prototypes for Terraform Providers for #podman, #buildah and #kaniko IIRC.
ALL of them are horrible at caching layers - let alone remote exec.
The only descend approach which supports caching seems to be #buildx + #buildkit. And yes, I have a prototype implementation for that as well.
We are still not testing this though, since hosting a Buildkit Remote Builder on GKE is a nightmare.
Let alone error handling in both buildx and buildkit is BAD.
#podman #buildah #kaniko #buildx #buildkit