You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We (w/@Dentrax) thought that if people want to add additional flags for the Go build, we should provide an option for this in the melange go/build pipeline, but there is no option for that yet.
AFAIK, there is an environment variable called GOFLAGS on go side that lets you specify the build arguments without editing the command itself but I'm not sure it would work if we set this in build process, if so, please feel free to close this issue.
Final implementation would be something like the following:
Yes, we can specify the GOFLAGS env var and it will pass it as a flag in every build command. But, I think will not work here as go/build is in a different pipeline and we can not carry forward exported env vars in the previous runs.
And this additional flags could be a list that we ca pass into the command
We (w/@Dentrax) thought that if people want to add additional flags for the Go build, we should provide an option for this in the melange go/build pipeline, but there is no option for that yet.
AFAIK, there is an environment variable called
GOFLAGS
on go side that lets you specify the build arguments without editing the command itself but I'm not sure it would work if we set this in build process, if so, please feel free to close this issue.Final implementation would be something like the following:
The text was updated successfully, but these errors were encountered: