Issue using private go pkg

Hi so in my project I have a private pkg from another repo in my org that is private in my go project, and I'm having trouble getting my project to deploy because I couldn't get railway to build it with the private repo, is there anyway to make it so it can go get and build it?
9 Replies
Percy
Percy6mo ago
Project ID: a511c309-6e2f-4d11-948a-7f78cfed4888
ionlytakeLs
ionlytakeLsOP6mo ago
a511c309-6e2f-4d11-948a-7f78cfed4888
Brody
Brody6mo ago
how would you typically authorise go get to get a package from a private repo?
ionlytakeLs
ionlytakeLsOP6mo ago
i just have my personal access token saved as a login for git in my terminal
Brody
Brody6mo ago
is it possible to specify that with an environment variable?
ionlytakeLs
ionlytakeLsOP6mo ago
hmm possibly
Brody
Brody6mo ago
additionally you are likely going to want to use a Dockerfile as that would give you far more ease and control over the build
ionlytakeLs
ionlytakeLsOP6mo ago
ok ill see if i can get that to work
Brody
Brody6mo ago
sounds good!
Want results from more Discord servers?
Add your server