diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 5af2929..d0bd165 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -10,7 +10,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.22' + go-version: '1.22.2' id: go - name: Check out the code diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f498e90..ef67a9e 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.22' + go-version: '1.22.2' id: go - name: Check out code into the Go module directory diff --git a/Dockerfile b/Dockerfile index 2698ffe..0aef6d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS build +FROM --platform=$BUILDPLATFORM golang:1.22.2-bookworm AS build ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index fb70d47..62d88cf 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/vmware-tanzu/velero-plugin-for-microsoft-azure -go 1.22.0 - -toolchain go1.22.2 +go 1.22.2 require ( github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1 @@ -13,7 +11,7 @@ require ( github.com/sirupsen/logrus v1.9.3 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.9.0 - github.com/vmware-tanzu/velero v0.0.0-20240424061649-159a49f0b2b9 + github.com/vmware-tanzu/velero v0.0.0-20240524054814-9164bc95a403 k8s.io/api v0.29.0 k8s.io/apimachinery v0.29.0 sigs.k8s.io/azuredisk-csi-driver v1.26.0 diff --git a/go.sum b/go.sum index a605f82..3b1d5c6 100644 --- a/go.sum +++ b/go.sum @@ -254,8 +254,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/vmware-tanzu/velero v0.0.0-20240424061649-159a49f0b2b9 h1:95yUi+EafcRoT/2tQ2TPy7rcvKsPSfPiRgcnrAjjUww= -github.com/vmware-tanzu/velero v0.0.0-20240424061649-159a49f0b2b9/go.mod h1:cPVOV3ThNZBs2HgkP9OUxL9SPAxCnyzTj+kXa0TXwV8= +github.com/vmware-tanzu/velero v0.0.0-20240524054814-9164bc95a403 h1:rpPB7uh994I9Jxgz4qOYZOoOaG7KIq06RHPc0TaSaFs= +github.com/vmware-tanzu/velero v0.0.0-20240524054814-9164bc95a403/go.mod h1:yeGs7/xq35yOGDPCV0ryxoybQBsTLXmrxwzXBXtiwp8= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=