Update version of golang from 1.16 to 1.18

This commit is contained in:
Sonja Happ 2022-04-05 16:51:18 +02:00
parent 48288360d5
commit 344a3f84ee
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ stages:
staticcheck:
stage: test
image: golang:1.16-buster
image: golang:1.18-buster
before_script:
- go install honnef.co/go/tools/cmd/staticcheck@latest
script:
@ -20,7 +20,7 @@ staticcheck:
test:
stage: test
image: golang:1.16-buster
image: golang:1.18-buster
variables:
GOPATH: $CI_PROJECT_DIR/.go
POSTGRES_DB: testvillasdb

View file

@ -1,4 +1,4 @@
FROM golang:1.16-buster AS builder
FROM golang:1.18-buster AS builder
RUN mkdir /build
WORKDIR /build