Skip to content

Commit 2e035bd

Browse files
committed
pkg(buildx): use build script directly for static build
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent 33dc2e9 commit 2e035bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/buildx/scripts/pkg-static-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ mkdir -p ${BUILDDIR}/${PKG_NAME}
4949
(
5050
set -x
5151
pushd ${SRCDIR}
52-
VERSION=${GENVER_VERSION} REVISION=${GENVER_COMMIT} DESTDIR=/tmp/buildx-build make build
52+
VERSION=${GENVER_VERSION} REVISION=${GENVER_COMMIT} DESTDIR=/tmp/buildx-build ./hack/build
5353
mv "/tmp/buildx-build/docker-buildx" "${BUILDDIR}/${PKG_NAME}/docker-buildx${binext}"
5454
popd
5555
xx-verify --static "${BUILDDIR}/${PKG_NAME}/docker-buildx${binext}"

0 commit comments

Comments
 (0)