Add GOARM for restic compile failure

Signed-off-by: Ming <mqiu@vmware.com>
This commit is contained in:
Ming
2022-12-19 08:36:00 +00:00
parent 1a0f6402b9
commit 3633bb4a7c

View File

@@ -54,6 +54,7 @@ ARG GOLANG_VERSION=1.19.4-bullseye
FROM --platform=$BUILDPLATFORM builder-env as restic-builder
RUN mkdir -p /output/usr/bin && \
export GOARM=$( echo "${GOARM}" | cut -c2-) && \
bash /go/src/github.com/vmware-tanzu/velero/hack/build-restic.sh
# Velero image packing section