fix: respect GO* environment variables when building to ensure CGO is disabled

Without this, building Dokku on a newer operating system will result in binaries that do not work on older systems. The environment variables were only being set when building in docker, which has not been used in the release workflow for a while.
This commit is contained in:
Jose Diaz-Gonzalez
2024-09-23 02:54:48 -04:00
parent 235ae5b7c5
commit 675c285dff
4 changed files with 7 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
go 1.23
go 1.23.0
use (
./plugins/app-json