Issue using private go pkg
notjake22
HOBBYOP

2 years ago

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

notjake22
HOBBYOP

2 years ago

a511c309-6e2f-4d11-948a-7f78cfed4888


2 years ago

how would you typically authorise go get to get a package from a private repo?


notjake22
HOBBYOP

2 years ago

i just have my personal access token saved as a login for git in my terminal


2 years ago

is it possible to specify that with an environment variable?


notjake22
HOBBYOP

2 years ago

hmm


notjake22
HOBBYOP

2 years ago

possibly


2 years 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


notjake22
HOBBYOP

2 years ago

ok ill see if i can get that to work


2 years ago

sounds good!


Loading...