From fab4adf6fd805f0b0af34e8715bdb4228f4a5b87 Mon Sep 17 00:00:00 2001 From: Marko Juraga Date: Thu, 4 Apr 2024 11:00:06 +0200 Subject: [PATCH] BUILD/MEDIUM: go: upgrade to go 1.22 --- .gitlab-ci.yml | 6 +++--- e2e/Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea9aea03..d2124a91 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,8 @@ --- variables: DOCKER_HOST: tcp://docker:2375 - GO_VERSION: "1.21" - DOCKER_VERSION: "24.0" + GO_VERSION: "1.22" + DOCKER_VERSION: "24.0.6" stages: - check-commit - generate @@ -152,7 +152,7 @@ test: stage: e2e needs: ["build"] image: - name: $CI_REGISTRY_GO/docker:stable-go$GO_VERSION + name: $CI_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION entrypoint: [""] services: - name: $CI_REGISTRY_GO/docker:$DOCKER_VERSION-dind diff --git a/e2e/Dockerfile b/e2e/Dockerfile index ff89688a..a2112199 100644 --- a/e2e/Dockerfile +++ b/e2e/Dockerfile @@ -14,7 +14,7 @@ ARG HAPROXY_VERSION=2.7 ARG DOCKER_URL=haproxytech -ARG GO_VERSION=1.21 +ARG GO_VERSION=1.22 FROM golang:${GO_VERSION}-alpine as go_image diff --git a/go.mod b/go.mod index c10079ba..f33b08d1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/haproxytech/client-native/v6 -go 1.21 +go 1.22 require ( github.com/go-faker/faker/v4 v4.3.0