File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ARG CONTAINERD_VERSION=v2.2.5
55# CONTAINERD_ALT_VERSION_... defines fallback containerd version for integration tests
66ARG CONTAINERD_ALT_VERSION_21=v2.1.9
77ARG CONTAINERD_ALT_VERSION_17=v1.7.33
8- ARG REGISTRY_VERSION=v2.8.3
8+ ARG REGISTRY_VERSION=v3.0.0
99ARG ROOTLESSKIT_VERSION=v3.0.1
1010ARG CNI_VERSION=v1.9.1
1111ARG STARGZ_SNAPSHOTTER_VERSION=v0.18.2
@@ -300,12 +300,9 @@ ARG TARGETPLATFORM
300300RUN --mount=target=/root/.cache,type=cache <<EOT
301301 set -ex
302302 mkdir /out
303- export GOPATH="$(pwd)/Godeps/_workspace:$GOPATH"
304- GO111MODULE=off CGO_ENABLED=0 xx-go build -o /out/registry ./cmd/registry
305- xx-verify --static /out/registry
306- if [ "$(xx-info os)" = "windows" ]; then
307- mv /out/registry /out/registry.exe
308- fi
303+ ext=$(xx-go env GOEXE)
304+ CGO_ENABLED=0 xx-go build -o "/out/registry${ext}" ./cmd/registry
305+ xx-verify --static "/out/registry${ext}"
309306EOT
310307
311308FROM gobuild-base AS rootlesskit
You can’t perform that action at this time.
0 commit comments