diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 736a7b073..e9a403fc1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -21,7 +21,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.14.x + go-version: 1.16.x - name: Checkout code uses: actions/checkout@v2 @@ -57,7 +57,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.14.x + go-version: 1.16.x - uses: actions/cache@v2 with: @@ -78,7 +78,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.14.x + go-version: 1.16.x - uses: actions/cache@v2 with: @@ -102,7 +102,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.14.x + go-version: 1.16.x - uses: actions/cache@v2 with: @@ -138,7 +138,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.14.x + go-version: 1.16.x - uses: actions/cache@v2 with: @@ -159,7 +159,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.14.x + go-version: 1.16.x - uses: actions/cache@v2 with: @@ -171,4 +171,4 @@ jobs: with: fetch-depth: 0 - - run: make docker-cross-build \ No newline at end of file + - run: make docker-cross-build diff --git a/build/gm/Dockerfile b/build/gm/Dockerfile index 5c1b03ce5..3b31fda9f 100644 --- a/build/gm/Dockerfile +++ b/build/gm/Dockerfile @@ -14,7 +14,7 @@ # Add cross buildx improvement # _speed_buildx_for_go_ -FROM golang:1.14-alpine3.11 AS builder +FROM golang:1.16-alpine3.15 AS builder LABEL stage=builder ARG GO_LDFLAGS diff --git a/build/lc/Dockerfile b/build/lc/Dockerfile index e96c429da..71b4f7aae 100644 --- a/build/lc/Dockerfile +++ b/build/lc/Dockerfile @@ -15,7 +15,7 @@ # Add cross buildx improvement # LC has built sqlite3 which requires CGO with CGO_ENABLED=1 # _speed_buildx_for_cgo_alpine_ -FROM golang:1.14-alpine3.11 AS builder +FROM golang:1.16-alpine3.15 AS builder LABEL stage=builder ARG GO_LDFLAGS diff --git a/go.mod b/go.mod index 2f41d6c5d..a1db6d821 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kubeedge/sedna -go 1.14 +go 1.16 require ( github.com/emicklei/go-restful/v3 v3.4.0