-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support --secret
build flag
#3028
Labels
kind/enhancement
New feature or request
kind/feature-request
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
Comments
QuanZhang-William
added
kind/enhancement
New feature or request
kind/feature-request
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
labels
Mar 15, 2024
Upvoting. |
This was such a bummer to find out after I spent a while figuring out how to get secrets to work in my docker build/buildx command. I went to finally add it to my CI pipeline, where we use Kaniko. :( |
upvoting |
stefreak
added a commit
to garden-io/garden
that referenced
this issue
Jul 16, 2024
First-class BuildKit secrets support for BuildKit in-cluster building, Garden Cloud Builder and building locally. Kaniko is not supported due to lack of support (See also GoogleContainerTools/kaniko#3028)
This was referenced Jul 16, 2024
stefreak
added a commit
to garden-io/garden
that referenced
this issue
Jul 16, 2024
First-class BuildKit secrets support for BuildKit in-cluster building, Garden Cloud Builder and building locally. Kaniko is not supported due to lack of support (See also GoogleContainerTools/kaniko#3028)
github-merge-queue bot
pushed a commit
to garden-io/garden
that referenced
this issue
Jul 18, 2024
* feat(container): first-class BuildKit secrets support First-class BuildKit secrets support for BuildKit in-cluster building, Garden Cloud Builder and building locally. Kaniko is not supported due to lack of support (See also GoogleContainerTools/kaniko#3028) * Update core/src/plugins/container/config.ts * improvement: protect leaking secrets in logs * improvement: update docs * test: extensive test coverage for secret values and maybeSecret Co-authored-by: Vova <[email protected]> * fix: fixes after manual testing Co-authored-by: Vova <[email protected]> * fix: format * improvement: undo unnecessary change * fix: framework test * improvement: remove unnecessary maybeSecret --------- Co-authored-by: Vova <[email protected]>
github-merge-queue bot
pushed a commit
to garden-io/garden
that referenced
this issue
Jul 18, 2024
* feat(container): first-class BuildKit secrets support First-class BuildKit secrets support for BuildKit in-cluster building, Garden Cloud Builder and building locally. Kaniko is not supported due to lack of support (See also GoogleContainerTools/kaniko#3028) * Update core/src/plugins/container/config.ts * improvement: protect leaking secrets in logs * improvement: update docs * test: extensive test coverage for secret values and maybeSecret Co-authored-by: Vova <[email protected]> * fix: fixes after manual testing Co-authored-by: Vova <[email protected]> * fix: format * improvement: undo unnecessary change * fix: framework test * improvement: remove unnecessary maybeSecret * improvement: clearer doc strings and minor changes --------- Co-authored-by: Vova <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/enhancement
New feature or request
kind/feature-request
priority/p1
Basic need feature compatibility with docker build. we should be working on this next.
Originally posted by @nickv2002 in #489 (comment)
Hi, I'm opening this feature request to support the
--secret
build flag inkaniko
. The workaround suggested in the original thread implies that we can't use the sameDockerfile
for local builds using Buildx and CI builds usingkaniko
.Thank you for considering this feature!
The text was updated successfully, but these errors were encountered: