Repository navigation
auth support for engine.#Pull - #1235
Conversation
|
✔️ Deploy Preview for devel-docs-dagger-io ready! 🔨 Explore the source changes: 96e9c04 🔍 Inspect the deploy log: https://app.netlify.com/sites/devel-docs-dagger-io/deploys/61bcd1ec9023d4000706bec6 😎 Browse the preview: https://deploy-preview-1235--devel-docs-dagger-io.netlify.app |
|
@samalba We currently support secret env and secret files, but that's clearly not good enough (perhaps @talentedmrjones can chime in regarding SOPS support through exec). However, it's bad because you'd have to commit those secrets in plaintext. Workarounds:
|
I can confirm that there is currently no way to do this. So initially our API will not perfectly match buildkit’s behavior. But the good news is that the buildkit devs are OK to add the capability in the future :) See moby/buildkit#2472 |
|
Updated the PR with integration tests + secrets support. Ready for review. |
Signed-off-by: Sam Alba <[email protected]>
Signed-off-by: Sam Alba <[email protected]>
…rately for sharing code with other tasks later Signed-off-by: Sam Alba <[email protected]>
Signed-off-by: Sam Alba <[email protected]>
|
flaky CI on website tests. Merging. |
This is just a start, still WIP.
I did not find a way yet to scope the auth to the engine call (everytime an auth field is process anywhere, it adds creds for a given target for the whole buildkit solver).
@aluzzardi I've setup a private alpine image for integration tests, but not sure how to pass the secret? Can I rely on the current
dagger.#Secretimplementation?