The CI Action currently builds the Docker images from scratch on every run. I think we might be able to conserve compute cycles and save time by using docker buildx bake to build the images within the Action, since it seems as though buildx can output the cached layers to the GitHub registry:
The CI Action currently builds the Docker images from scratch on every run. I think we might be able to conserve compute cycles and save time by using
docker buildx bake
to build the images within the Action, since it seems as thoughbuildx
can output the cached layers to the GitHub registry:https://stackoverflow.com/questions/61491484/how-to-cache-docker-compose-build-inside-github-action
https://docs.docker.com/reference/cli/docker/buildx/build/#load
https://docs.docker.com/reference/cli/docker/buildx/bake/
Not sure, but it's worth investigating.