From 6726bc7744f7759bd31138d6badab4524c138a40 Mon Sep 17 00:00:00 2001 From: b1ackd0t <28790446+rodneyosodo@users.noreply.github.com> Date: Mon, 16 Oct 2023 12:46:07 +0300 Subject: [PATCH] NOISSUE - Update Go Version on Docker and CI (#1925) * feat(docker): update base image version to golang:1.21-alpine The Dockerfile has been updated to use the latest version of the base image, golang:1.21-alpine, instead of golang:1.19-alpine. This update ensures that the application is built using the most recent version of the Go programming language. Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> * fix(ci): update Go version in Semaphore configuration The Go version in the Semaphore configuration file was updated from 1.20 to 1.21. Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> --------- Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com> --- .semaphore/semaphore.yml | 2 +- docker/Dockerfile | 2 +- scripts/ci.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 50ca83f9..1a8a49c4 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -11,7 +11,7 @@ global_job_config: prologue: commands: - checkout - - sem-version go 1.20 + - sem-version go 1.21 blocks: - name: Setup dependencies: [] diff --git a/docker/Dockerfile b/docker/Dockerfile index 67e1f10c..e725215b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-alpine AS builder +FROM golang:1.21-alpine AS builder ARG SVC ARG GOARCH ARG GOARM diff --git a/scripts/ci.sh b/scripts/ci.sh index 69be59a7..b236094d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -1,6 +1,6 @@ # This script contains commands to be executed by the CI tool. NPROC=$(nproc) -GO_VERSION=1.19.4 +GO_VERSION=1.21.3 PROTOC_VERSION=23.3 PROTOC_GEN_VERSION=v1.31.0 PROTOC_GRPC_VERSION=v1.3.0