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>
This commit is contained in:
b1ackd0t 2023-10-16 12:46:07 +03:00 committed by GitHub
parent 5e060d5620
commit 6726bc7744
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ global_job_config:
prologue: prologue:
commands: commands:
- checkout - checkout
- sem-version go 1.20 - sem-version go 1.21
blocks: blocks:
- name: Setup - name: Setup
dependencies: [] dependencies: []

View File

@ -1,4 +1,4 @@
FROM golang:1.19-alpine AS builder FROM golang:1.21-alpine AS builder
ARG SVC ARG SVC
ARG GOARCH ARG GOARCH
ARG GOARM ARG GOARM

View File

@ -1,6 +1,6 @@
# This script contains commands to be executed by the CI tool. # This script contains commands to be executed by the CI tool.
NPROC=$(nproc) NPROC=$(nproc)
GO_VERSION=1.19.4 GO_VERSION=1.21.3
PROTOC_VERSION=23.3 PROTOC_VERSION=23.3
PROTOC_GEN_VERSION=v1.31.0 PROTOC_GEN_VERSION=v1.31.0
PROTOC_GRPC_VERSION=v1.3.0 PROTOC_GRPC_VERSION=v1.3.0