feature-request

Support Build Secrets (--secret) flag when building a docker image

Add support for Build Secrets (--secret) when building an image. Not sure how it'd work but currently the only way I can see for how to pass authentication credentials that are usable down-stream within the Dockerfile is to pass build args, which is insecure and emitted in Depot etc

Specific use-case is npm authentication.

avatar
2
  • This would also help with my use case, which is using authenticated ruby libraries (gems).

    avatar
  • I've never used Ruby, can you talk a little about how it'd benefit your use case? Want to make sure I have full context prior to diving into this.

    avatar
    platform
v2025.09.11.01 © 2024 Petrichor Holdings, Inc.

🍪 Help Us Improve Our Site

We use first-party cookies to keep the site fast and secure, see which pages need improved, and remember little things to make your experience better. For more information, read our Privacy Policy.