Kaniko v1.27.0 is out!
And like a camel it comes with two new mount-options. You can now use cache & secret mounts as you would in other builders:
RUN --mount=type=secret,id=netrc,target=/root/.netrc \
--mount=type=cache,target=/root/.cache/uv \
uv pip install -r requirements.txt
Find this and more QoL improvements in our latest release notes: https://github.com/osscontainertools/kaniko/releases/tag/v1.27.0
