diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 849ead9..5af2929 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.21.6' + go-version: '1.22' id: go - name: Check out the code diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 862f9f3..f498e90 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.21.6' + go-version: '1.22' id: go - name: Check out code into the Go module directory diff --git a/Dockerfile b/Dockerfile index 9290f2a..2698ffe 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.21.6-bookworm AS build +FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS build ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index a7fccc1..ea916f7 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/vmware-tanzu/velero-plugin-for-microsoft-azure -go 1.21 - -toolchain go1.21.6 +go 1.22 require ( github.com/Azure/azure-sdk-for-go/sdk/azcore v1.10.0