diff --git a/Dockerfile b/Dockerfile index 5bb0963..b8b4d8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,7 @@ RUN go mod download COPY ./ ./ # Build +ARG ARCH ARG ldflags RUN CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} \ diff --git a/go.mod b/go.mod index c1333ce..aa29541 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/onsi/ginkgo/v2 v2.12.0 github.com/onsi/gomega v1.27.10 github.com/pkg/errors v0.9.1 - github.com/smartxworks/cluster-api-provider-elf v1.3.0-rc.2 + github.com/smartxworks/cluster-api-provider-elf v1.3.0 github.com/spf13/pflag v1.0.5 golang.org/x/mod v0.12.0 k8s.io/apiextensions-apiserver v0.27.2 diff --git a/go.sum b/go.sum index 5fbf0fc..e92057f 100644 --- a/go.sum +++ b/go.sum @@ -434,8 +434,8 @@ github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMB github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/smartxworks/cloudtower-go-sdk/v2 v2.11.1-rc-2023-09-14 h1:CHJLqIwjPHMKpnlR7wXmKUr9n2Ba7KhR5LG63S4TqQY= github.com/smartxworks/cloudtower-go-sdk/v2 v2.11.1-rc-2023-09-14/go.mod h1:X6R9+L438SMnLJXykSCV3fJ+AZul0hlyjITsZgrSRtM= -github.com/smartxworks/cluster-api-provider-elf v1.3.0-rc.2 h1:lAhD4XA/slsDVrYjLJ6xIsm8DvT0WEBM+HNECivGBlY= -github.com/smartxworks/cluster-api-provider-elf v1.3.0-rc.2/go.mod h1:mh9l2f77aBqCIf4MkJYexP4dX5kNV7g21xXpTgb7yrI= +github.com/smartxworks/cluster-api-provider-elf v1.3.0 h1:l4ZRSSucQrQFedlBFTkPaWJ/Cx/N4qrEYzyWiZ6RX/c= +github.com/smartxworks/cluster-api-provider-elf v1.3.0/go.mod h1:xScUkqvMEavREzThspeDRTvozmWQppgq4xH0dORJu18= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=