瀏覽代碼

chore: upgrade base image go version to 1.20 (#1718)

* update base images

Signed-off-by: Rui-Gan <1171530954@qq.com>

* update go version to 1.20.2

Signed-off-by: Rui-Gan <1171530954@qq.com>

---------

Signed-off-by: Rui-Gan <1171530954@qq.com>
Regina 2 年之前
父節點
當前提交
33976ac52f

+ 1 - 1
.github/dockerfile/Dockerfile.alpine

@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-ARG GO_VERSION=1.18.5
+
 FROM golang:$GO_VERSION-alpine AS builder
 
 RUN apk add gcc make git libc-dev zip curl jq bash binutils-gold pkgconfig zeromq-dev

+ 1 - 1
.github/dockerfile/Dockerfile.centos

@@ -16,7 +16,7 @@ FROM centos:7
 
 RUN yum install -y make wget git which rpm-build gcc
 
-ARG GO_VERSION=1.18.5
+
 
 RUN case $(arch) in \
         x86_64) \

+ 1 - 1
.github/dockerfile/Dockerfile.debian

@@ -14,7 +14,7 @@
 
 FROM debian:stretch
 
-ARG GO_VERSION=1.18.5
+
 
 RUN apt update \
     && apt install -y make wget git curl procps zip libucl-dev zlib1g-dev pkg-config libczmq-dev build-essential debhelper jq zip

+ 1 - 1
.github/workflows/build_base_image.yaml

@@ -22,7 +22,7 @@ jobs:
           - centos
           - alpine
         golang:
-          - 1.18.5
+          - 1.20.2
 
     steps:
       - uses: actions/checkout@v3