From d9e60afd71d6134c2380721026b814bb202d1173 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 2 Dec 2024 01:47:45 +0100 Subject: [PATCH] chore: upgrade go version --- .drone.yml | 4 ++-- Dockerfile | 2 +- Makefile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index ea406595..cfc88e86 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,12 +3,12 @@ kind: pipeline name: coopcloud.tech/abra steps: - name: make check - image: golang:1.21 + image: golang:1.22 commands: - make check - name: make test - image: golang:1.21 + image: golang:1.22 environment: CATL_URL: https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json.git commands: diff --git a/Dockerfile b/Dockerfile index ad13b47a..2c49d751 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build image -FROM golang:1.21-alpine AS build +FROM golang:1.22-alpine AS build ENV GOPRIVATE coopcloud.tech diff --git a/Makefile b/Makefile index 5d3b4ff4..8072a5bc 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ ABRA := ./cmd/abra KADABRA := ./cmd/kadabra COMMIT := $(shell git rev-list -1 HEAD) GOPATH := $(shell go env GOPATH) -GOVERSION := 1.21 +GOVERSION := 1.22 LDFLAGS := "-X 'main.Commit=$(COMMIT)'" DIST_LDFLAGS := $(LDFLAGS)" -s -w" GCFLAGS := "all=-l -B"