Hi,
following the discussion on Discord, I propose to add to blue-build options to use image caching also on other platforms than Github.
One way to do this would be to expose existing caching features of podman/buildah:
Buildah got recently the options --layers --cache-from … --cache-to ... .
Reference: https://manpages.ubuntu.com/manpages/plucky/man1/buildah-build.1.html
So with Gitlab CI one can use caching like this:
podman build -t container-name:$VERSION --layers --cache-to $CI_REGISTRY_IMAGE/cache-image --cache-from $CI_REGISTRY_IMAGE/cache-image -f Containerfile .
The cache-image could possibly made configurable from blue-build.