How to authenticate a private Go Module using go 1.11 and Google App Engine Standard

后端 未结 3 663
轻奢々
轻奢々 2021-01-03 03:17

I\'ve been updating my entire go gae standard project to use go 1.11\'s modules.

Main directory structure

app.yaml
app.go
go.mod
go         


        
3条回答
  •  孤独总比滥情好
    2021-01-03 03:45

    Another alternative is to also use Google Cloud Secret Manager

    https://cloud.google.com/cloud-build/docs/access-private-github-repos

    Google Cloud will have an SSH key to access and pull your private repository.

提交回复
热议问题