Attempting to build a plugin that uses the .netrc
from Bitbucket (or other providers) to pull another private repo that uses the same credentials. We cant seem to workout how or where to acess the .netrc
file inside a plugin container?
Plugin:
- Alpine linux container
- git
- openssh
- curl
We are building and testing our plugin on Drone.io as we intend to open source it. Its running as
- Private
Assuming this can be done from reading many issues and discussions and looking through the git push plugin: GitHub - appleboy/drone-git-push: Drone plugin for deploying code using git push
I would have assumed that they resided in $DRONE_NETRC_PASSWORD
$DRONE_NETRC_USERNAME
or an injected /root/.netrc
or ~/.netrc
although cannot find either.