build: use goreleaser within dockerfile

jfa-go-build-docker has also been updated with libolm deps for all
arches, and version.sh now tells goreleaser to do internal or external.
This commit is contained in:
Harvey Tindall
2024-08-11 16:28:21 +01:00
parent cf5ec3b319
commit 2d7f44eeec
3 changed files with 28 additions and 23 deletions
+9
View File
@@ -15,6 +15,15 @@ else
export JFA_GO_MINIFY=""
fi
if [[ -z "${INTERNAL}" ]]; then
export INTERNAL=on
fi
if [[ "${INTERNAL}" == "on" ]]; then
export JFA_GO_TAG=""
else
export JFA_GO_TAG="external"
fi
JFA_GO_VERSION=$(git describe --exact-match HEAD 2> /dev/null || echo 'vgit')
TIMEOUT=60m