-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Netrc not passed to clone container #479
Comments
workaround: add clone:
git:
image: woodpeckerci/plugin-git:next
+ secrets: [ ci_netrc_username, ci_netrc_password, ci_netrc_machine ] |
@6543 Why would other steps then |
it would - I'm aware of that :) |
Well... it would if it needs to access different repositories... seems like the Any other way to do this ? (I also see why this is not a nice solution though... seems like in drone these where always available to the containers...) My current usecase is pulling private go dependencies.... |
(of course I can always add the data as a secret myself and am happy to go that route if necessary... but would be interesting if there are other ways too...) |
we could add some special "secret" that injects netrc ... - so it's handled like the normal secrets from permission perspective but the outcome would be a netrc - but that's for a new issue feel free to open a feature request |
thanks for the update :-) |
the first step of a pipeline is the close step, if not set by pipeline config it will be added by default.
this environment should have access to Netrc variables:
woodpecker/pipeline/frontend/yaml/compiler/option.go
Lines 71 to 87 in 3c5827f
but that's not the case!
block #473 (-> woodpecker-ci/plugin-git#4)
The text was updated successfully, but these errors were encountered: