diff --git a/docker-bake.hcl b/docker-bake.hcl index ff9c46ca62..e52e9fa171 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -31,6 +31,7 @@ target "_platforms" { "darwin/amd64", "darwin/arm64", "linux/amd64", + "linux/arm/v5", "linux/arm/v6", "linux/arm/v7", "linux/arm64", @@ -183,6 +184,7 @@ target "bin-image-cross" { "darwin/amd64", "darwin/arm64", "linux/amd64", + "linux/arm/v5", "linux/arm/v6", "linux/arm/v7", "linux/arm64", diff --git a/scripts/build/plugins b/scripts/build/plugins index 634d3f9db7..9384209198 100755 --- a/scripts/build/plugins +++ b/scripts/build/plugins @@ -21,5 +21,5 @@ for p in cli-plugins/examples/* "$@" ; do mkdir -p "$(dirname "${TARGET_PLUGIN}")" echo "Building $GO_LINKMODE $(basename "${TARGET_PLUGIN}")" - (set -x ; GO111MODULE=auto go build -o "${TARGET_PLUGIN}" -tags "${GO_BUILDTAGS}" -ldflags "${GO_LDFLAGS}" ${GO_BUILDMODE} "github.com/docker/cli/${p}") + (set -x ; GO111MODULE=auto go build -o "${TARGET_PLUGIN}" -tags "${GO_BUILDTAGS}" -ldflags "${GO_LDFLAGS}" "github.com/docker/cli/${p}") done