File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323: " ${OUTDIR=/ out} "
2424
2525: " ${TAGPREFIX=} "
26+ : " ${MODULE_NAME=github.com/ docker/ buildx} "
2627
2728set -e
2829
@@ -51,7 +52,7 @@ mkdir -p ${BUILDDIR}/${PKG_NAME}
5152(
5253 set -x
5354 pushd ${SRCDIR}
54- go build -trimpath -ldflags=" -s -w -X ${PKG_NAME } /version.Version=${GENVER_VERSION} -X ${PKG_NAME } /version.Revision=${GENVER_COMMIT} -X ${PKG_NAME } /version.Package=${PKG_NAME } " -o /tmp/buildx-build/docker-buildx ./cmd/buildx
55+ go build -trimpath -ldflags=" -s -w -X ${MODULE_NAME } /version.Version=${GENVER_VERSION} -X ${MODULE_NAME } /version.Revision=${GENVER_COMMIT} -X ${MODULE_NAME } /version.Package=${MODULE_NAME } " -o /tmp/buildx-build/docker-buildx ./cmd/buildx
5556 mv " /tmp/buildx-build/docker-buildx" " ${BUILDDIR} /${PKG_NAME} /docker-buildx${binext} "
5657 popd
5758 xx-verify --static " ${BUILDDIR} /${PKG_NAME} /docker-buildx${binext} "
You can’t perform that action at this time.
0 commit comments