multi: bump Go version to v1.22.11

This commit is contained in:
Oliver Gugger 2025-01-30 16:13:26 +01:00
parent 3909cd96e5
commit bfcf76c3b4
No known key found for this signature in database
GPG Key ID: 8E4256593F177720
11 changed files with 27 additions and 37 deletions

View File

@ -25,13 +25,9 @@ env:
TRANCHES: 8
# If you change this value, please change it in the following files as well:
# /.travis.yml
# /Dockerfile
# /dev.Dockerfile
# /make/builder.Dockerfile
# /.github/workflows/release.yml
GO_VERSION: 1.22.6
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
GO_VERSION: 1.22.11
jobs:
########################

View File

@ -10,12 +10,9 @@ defaults:
shell: bash
env:
# If you change this value, please change it in the following files as well:
# /Dockerfile
# /dev.Dockerfile
# /make/builder.Dockerfile
# /.github/workflows/main.yml
GO_VERSION: 1.22.6
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
GO_VERSION: 1.22.11
jobs:
main:

View File

@ -1,5 +1,7 @@
run:
go: "1.22.6"
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
go: "1.22.11"
# Abort after 10 minutes.
timeout: 10m

View File

@ -1,9 +1,6 @@
# If you change this value, please change it in the following files as well:
# /dev.Dockerfile
# /make/builder.Dockerfile
# /.github/workflows/main.yml
# /.github/workflows/release.yml
FROM golang:1.22.6-alpine as builder
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.22.11-alpine as builder
# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
# queries required to connect to linked containers succeed.

View File

@ -35,7 +35,7 @@ endif
# GO_VERSION is the Go version used for the release build, docker files, and
# GitHub Actions. This is the reference version for the project. All other Go
# versions are checked against this version.
GO_VERSION = 1.22.6
GO_VERSION = 1.22.11
GOBUILD := $(LOOPVARFIX) go build -v
GOINSTALL := $(LOOPVARFIX) go install -v

View File

@ -1,9 +1,6 @@
# If you change this value, please change it in the following files as well:
# /Dockerfile
# /make/builder.Dockerfile
# /.github/workflows/main.yml
# /.github/workflows/release.yml
FROM golang:1.22.6-alpine as builder
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.22.11-alpine as builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

View File

@ -1,4 +1,6 @@
FROM golang:1.22.6-alpine as builder
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.22.11-alpine as builder
LABEL maintainer="Olaoluwa Osuntokun <laolu@lightning.engineering>"

View File

@ -1,4 +1,6 @@
FROM golang:1.22.6-bookworm
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.22.11-bookworm
RUN apt-get update && apt-get install -y \
git \

View File

@ -6,7 +6,7 @@ set -e
DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
# golang docker image version used in this script.
GO_IMAGE=docker.io/library/golang:1.22.6-alpine
GO_IMAGE=docker.io/library/golang:1.22.11-alpine
PROTOBUF_VERSION=$(docker run --rm -v $DIR/../:/lnd -w /lnd $GO_IMAGE \
go list -f '{{.Version}}' -m google.golang.org/protobuf)

View File

@ -1,9 +1,6 @@
# If you change this value, please change it in the following files as well:
# /Dockerfile
# /dev.Dockerfile
# /.github/workflows/main.yml
# /.github/workflows/release.yml
FROM golang:1.22.6-bookworm
# If you change this please also update GO_VERSION in Makefile (then run
# `make lint` to see where else it needs to be updated as well).
FROM golang:1.22.11-bookworm
MAINTAINER Olaoluwa Osuntokun <laolu@lightning.engineering>

View File

@ -1,4 +1,4 @@
FROM golang:1.22.6
FROM golang:1.22.11
RUN apt-get update && apt-get install -y git
ENV GOCACHE=/tmp/build/.cache