Eve library

Neith Vault Buildx provider

Other

Revision 1

On this page

neithvault buildx resolves nv:// bindings into randomly named process-local environment variables and converts them into BuildKit --secret id=...,env=... mounts. Values never enter build arguments or temporary files.

sh
neithvault buildx --config ./build-secrets.json -- \
  --load --tag example:local .

In the Dockerfile, consume a binding only in its designated build step:

dockerfile
RUN --mount=type=secret,id=npm-token,required \
    ./scripts/install-with-token /run/secrets/npm-token