skip to Main Content

Set expiration or max-age limit for docker build –cache-from with BuildKit – PHP Versions

TL;DR: If my CI docker build instruction is something like DOCKER_BUILDKIT=1 docker build --cache-from registry.my.org/project-x/app:latest --tag registry.my.org/project-x/app:latest --tag registry.my.org/project-x/app:$CI_BUILD_NUM --build-arg BUILDKIT_INLINE_CACHE=1 --build-arg BUILD_NUM=$CI_BUILD_NUM . how can I limit the expiration or max age of the acceptable image cache so that…

VIEW QUESTION
Back To Top
Search