Secret mount during build buildkit

Use a secret file in one RUN without baking it into any layer; pair with --secret

RUN --mount=type=secret,id=npmrc,target=/root/.npmrc npm ci
more buildkit all 4 commands →