My application uses both public and private github 3rd party dependencies, I am trying to build my application within docker container with endly(https://github.com/viant/endly),
When I run endly -r=app, I am seeing the following issue: Cloning into '/tmp/go/src/github.com/xxxx/private_repo'... remote: Invalid username or password.
How do I specify private repo credentials, for security reasons I do not want to hardcode raw credentials anywhere.
app.yaml
defaults:
version: 1.1
app: myapp
sdk: go:1.9
pipeline:
build:
workflow: app/docker/build
origin:
URL: ./../
credentials: localhost
buildPath: /tmp/go/src/github.com/myapp
commands:
- export GOPATH=/tmp/go
- cd $buildPath/myapp
- go get -u .
- export CGO_ENABLED=0
- go build -o $app
- chmod +x $app
download:
/$buildPath/${app}: $releasePath