diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 631f7afce0..ad5546fec8 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,8 @@ updates: directory: "/" schedule: interval: "daily" + + - package-ecosystem: "docker" + directory: "/build/*" + schedule: + interval: "daily" diff --git a/build/liqoctl/build.sh b/build/liqoctl/build.sh index ed5e5ad0d8..44d4e6ef96 100755 --- a/build/liqoctl/build.sh +++ b/build/liqoctl/build.sh @@ -14,7 +14,7 @@ trap 'error "${BASH_SOURCE}" "${LINENO}"' ERR GO_VERSION="1.21" docker run -v "$PWD:/liqo" -w /liqo -e="CGO_ENABLED=${CGO_ENABLED}" --rm "golang:${GO_VERSION}" \ - go mod tidy && go build -o "./liqoctl-${GOOS}-${GOARCH}" \ - -ldflags="-s -w -X 'github.com/liqotech/liqo/pkg/liqoctl/version.liqoctlVersion=${LIQOCTLVERSION}'" \ + sh -c "go mod tidy && go build -o \"./liqoctl-${GOOS}-${GOARCH}\" \ + -ldflags=\"-s -w -X 'github.com/liqotech/liqo/pkg/liqoctl/version.liqoctlVersion=${LIQOCTLVERSION}'\" \ -buildvcs=false \ - ./cmd/liqoctl + ./cmd/liqoctl" diff --git a/go.mod b/go.mod index 5244b0c486..03cfb19649 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/liqotech/liqo -go 1.21 +go 1.21.0 require ( github.com/Azure/azure-sdk-for-go v68.0.0+incompatible