How to use bake remote definition with private Git repo? #1736
Unanswered
skycaptain
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The docs mention that's also possible to build bake files directly from a remote Git repository or HTTPS URL: https://docs.docker.com/build/bake/file-definition/#remote-definition.
In my case, I have a private Git repo hosted on Azure DevOps. I have a PAT set up in my
~/.netrc
, so I can easily clone the repo via https:How can I instruct
buildx-bake
to use this repo? E.g. when I execute:I get an 401 error, so it seems buildx does not use my
~/.netrc
file..git
in the URL? Is it the#
Beta Was this translation helpful? Give feedback.
All reactions