chore: upgrade go version
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2024-12-02 01:47:45 +01:00
parent 31fa9b1a7a
commit d9e60afd71
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
3 changed files with 4 additions and 4 deletions

View File

@ -3,12 +3,12 @@ kind: pipeline
name: coopcloud.tech/abra name: coopcloud.tech/abra
steps: steps:
- name: make check - name: make check
image: golang:1.21 image: golang:1.22
commands: commands:
- make check - make check
- name: make test - name: make test
image: golang:1.21 image: golang:1.22
environment: environment:
CATL_URL: https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json.git CATL_URL: https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json.git
commands: commands:

View File

@ -1,5 +1,5 @@
# Build image # Build image
FROM golang:1.21-alpine AS build FROM golang:1.22-alpine AS build
ENV GOPRIVATE coopcloud.tech ENV GOPRIVATE coopcloud.tech

View File

@ -2,7 +2,7 @@ ABRA := ./cmd/abra
KADABRA := ./cmd/kadabra KADABRA := ./cmd/kadabra
COMMIT := $(shell git rev-list -1 HEAD) COMMIT := $(shell git rev-list -1 HEAD)
GOPATH := $(shell go env GOPATH) GOPATH := $(shell go env GOPATH)
GOVERSION := 1.21 GOVERSION := 1.22
LDFLAGS := "-X 'main.Commit=$(COMMIT)'" LDFLAGS := "-X 'main.Commit=$(COMMIT)'"
DIST_LDFLAGS := $(LDFLAGS)" -s -w" DIST_LDFLAGS := $(LDFLAGS)" -s -w"
GCFLAGS := "all=-l -B" GCFLAGS := "all=-l -B"