Skip to content
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

feat: Add support for build-secrets #604

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emanuel-skrenkovic
Copy link

Enables passing of build-secrets through the 'secrets' block inside 'build'.
The feature is only available when using Buildkit.

I don't have much knowledge as to how build secrets work, but I tried to follow how buildx does it and implement it here. This feature is something that pops up as a need often at my job.

If changes need to be made, I will try to accommodate. :)

Tested by installing the provider locally, pushing the secrets into files in the Dockerfile, and verifying that the values were passed through.

@emanuel-skrenkovic emanuel-skrenkovic force-pushed the feature/build-secrets branch 2 times, most recently from 3be58c4 to 824e9b1 Compare May 9, 2024 07:03
Enables passing of build-secrets through the 'secrets' block inside
'build'.
The feature is only available when using Buildkit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant