-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 docker build --secret flag #4731
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4731 +/- ##
==========================================
- Coverage 71.85% 71.77% -0.09%
==========================================
Files 347 347
Lines 11869 11945 +76
==========================================
+ Hits 8528 8573 +45
- Misses 2724 2741 +17
- Partials 617 631 +14
Continue to review full report at Codecov.
|
6050b80
to
3b435ae
Compare
this PR adds an integration test for buildkit builds, but it fails in travis because the daemon doesn't support buildkit. i'm going to leave the tests in but comment them out - opened #4746 to track |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is buildkit supported on GCB? If not, we should error if it's defined.
in skaffold it isn't, but there's no reason why it couldn't be. I was able to hack the build spec to include |
b9c8b5e
to
35f636c
Compare
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
a9cddbf
to
012d812
Compare
012d812
to
f2deca8
Compare
@googlebot I consent |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Co-authored-by: Brian de Alwis <[email protected]>
Co-authored-by: Brian de Alwis <[email protected]>
f2deca8
to
04ea39d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One optional suggestion.
This is a feature addition related to GoogleContainerTools#2273 and GoogleContainerTools#4731.
This is a feature addition related to GoogleContainerTools#2273 and GoogleContainerTools#4731.
This is a feature addition related to GoogleContainerTools#2273 and GoogleContainerTools#4731.
This is a feature addition related to GoogleContainerTools#2273 and GoogleContainerTools#4731.
This is a feature addition related to GoogleContainerTools#2273 and GoogleContainerTools#4731.
fixes #2273
this change adds support for the new(ish) docker build secret flag. this wasn't supported in skaffold through build args like we might have thought.
when configured in the skaffold.yaml, this looks something like