The cache-from for the docker build step refers to mambaorg/micromamba:latest. Thus only the default base image of debian:bullseye-slim has a usable cache. As a consequence, the non-default images are rebuilt from scratch due to commits to main which are irrelevant to the image.
I think that cache-from should be set to something like ${{ steps.set_image_variables.outputs.tag }}, but I'm not sure.
The cache-from for the docker build step refers to
mambaorg/micromamba:latest. Thus only the default base image ofdebian:bullseye-slimhas a usable cache. As a consequence, the non-default images are rebuilt from scratch due to commits tomainwhich are irrelevant to the image.I think that
cache-fromshould be set to something like${{ steps.set_image_variables.outputs.tag }}, but I'm not sure.