Skip to content

Commit

Permalink
[Automation] Bump Golang version to 1.22.2 (#398)
Browse files Browse the repository at this point in the history
Co-authored-by: apmmachine <[email protected]>
  • Loading branch information
apmmachine and apmmachine authored Apr 4, 2024
1 parent b8f06b6 commit bb4ded8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.22.1
1.22.2
2 changes: 1 addition & 1 deletion go/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
include $(SELF_DIR)/../Makefile.common

NAME := golang-crossbuild
VERSION := 1.22.1
VERSION := 1.22.2
DEBIAN_VERSION ?= 9
SUFFIX := -$(shell basename $(CURDIR))
TAG_EXTENSION ?=
Expand Down
4 changes: 2 additions & 2 deletions go/base-arm/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ RUN \
libsqlite3-0 \
&& rm -rf /var/lib/apt/lists/*

ARG GOLANG_VERSION=1.22.1
ARG GOLANG_VERSION=1.22.2
ARG GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-arm64.tar.gz
ARG GOLANG_DOWNLOAD_SHA256=e56685a245b6a0c592fc4a55f0b7803af5b3f827aaa29feab1f40e491acf35b8
ARG GOLANG_DOWNLOAD_SHA256=36e720b2d564980c162a48c7e97da2e407dfcc4239e1e58d98082dfa2486a0c1

RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz \
&& echo "$GOLANG_DOWNLOAD_SHA256 golang.tar.gz" | sha256sum -c - \
Expand Down
6 changes: 3 additions & 3 deletions go/base/install-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# This script install the Go version correct for each architecture.
set -e

GOLANG_VERSION=1.22.1
GOLANG_VERSION=1.22.2
GOLANG_DOWNLOAD_URL=https://golang.org/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
GOLANG_DOWNLOAD_SHA256_AMD=aab8e15785c997ae20f9c88422ee35d962c4562212bb0f879d052a35c8307c7f
GOLANG_DOWNLOAD_SHA256_ARM=e56685a245b6a0c592fc4a55f0b7803af5b3f827aaa29feab1f40e491acf35b8
GOLANG_DOWNLOAD_SHA256_AMD=5901c52b7a78002aeff14a21f93e0f064f74ce1360fce51c6ee68cd471216a17
GOLANG_DOWNLOAD_SHA256_ARM=36e720b2d564980c162a48c7e97da2e407dfcc4239e1e58d98082dfa2486a0c1

GO_TAR_FILE=/tmp/golang.tar.gz

Expand Down

0 comments on commit bb4ded8

Please sign in to comment.