From d3c7ed8ad2f986e34cba3b9dc8a5ee9b2fcdf91e Mon Sep 17 00:00:00 2001 From: Antonette Caldwell <134739862+nebula-aac@users.noreply.github.com> Date: Mon, 2 Oct 2023 13:08:09 +0000 Subject: [PATCH] Update to 1.21 Signed-off-by: Antonette Caldwell <134739862+nebula-aac@users.noreply.github.com> --- .github/workflows/build-and-release.yml | 4 ++-- .github/workflows/ci.yml | 2 +- Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index b22eac32..542a7b1e 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Go uses: actions/setup-go@main with: - go-version: '1.19' + go-version: '1.21' check-latest: 'true' - run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go build -o meshery-meshsync . docker: @@ -32,7 +32,7 @@ jobs: - name: Setup go uses: actions/setup-go@main with: - go-version: '1.19' + go-version: '1.21' check-latest: 'true' - name: Docker login uses: docker/login-action@v2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8685442e..1de3512d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: uses: actions/setup-go@main with: check-latest: 'true' - go-version: '^1.19' + go-version: '^1.21' - name: Build check run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go build -o meshery-meshsync . - name: golangci-lint diff --git a/Dockerfile b/Dockerfile index 9c2971c4..a990308b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 as builder +FROM golang:1.21 as builder ARG GIT_VERSION ARG GIT_COMMITSHA