ci,dockerfile,gomod: bump base to go1.20
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2023-07-19 22:39:12 +02:00
parent d081a79f6d
commit 3dbafe08e7
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI
3 changed files with 10 additions and 10 deletions

@ -32,7 +32,7 @@ steps:
- name: golang
pull: always
image: docker.io/library/golang:1.18.5-alpine3.16
image: docker.io/library/golang:1.20.5-alpine3.18
commands:
- uname -r
- go version
@ -73,7 +73,7 @@ steps:
- hugo --gc=true --minify
- name: go fmt
image: docker.io/library/golang:1.18.5-alpine3.16
image: docker.io/library/golang:1.20.5-alpine3.18
volumes:
- name: gopath
path: /go
@ -83,7 +83,7 @@ steps:
- go fmt
- name: go vet
image: docker.io/library/golang:1.18.5-alpine3.16
image: docker.io/library/golang:1.20.5-alpine3.18
volumes:
- name: gopath
path: /go
@ -94,7 +94,7 @@ steps:
- name: go build
pull: if-not-exists
image: docker.io/library/golang:1.18.5-alpine3.16
image: docker.io/library/golang:1.20.5-alpine3.18
volumes:
- name: gopath
path: /go
@ -295,7 +295,7 @@ steps:
- docker-compose -f docker-compose.yml config -q
- name: go fmt
image: docker.io/library/golang:1.18.5-alpine3.16
image: docker.io/library/golang:1.20.5-alpine3.18
volumes:
- name: gopath
path: /go
@ -305,7 +305,7 @@ steps:
- go fmt
- name: go vet
image: docker.io/library/golang:1.18.5-alpine3.16
image: docker.io/library/golang:1.20.5-alpine3.18
volumes:
- name: gopath
path: /go
@ -317,7 +317,7 @@ steps:
- go vet
- name: go build
image: docker.io/library/golang:1.18.5-alpine3.16
image: docker.io/library/golang:1.20.5-alpine3.18
volumes:
- name: gopath
path: /go
@ -466,6 +466,6 @@ steps:
---
kind: signature
hmac: 2e74203ac7bcec217f8996502277c1440f66258f2659d29074c476a2746b5f31
hmac: 93c0e34716ff500781c62646dc417ea222ed43da5089c35ccaa1c96e662263d7
...

@ -20,7 +20,7 @@ WORKDIR /homepage
RUN hugo version && \
hugo --minify --gc=true --cleanDestinationDir
FROM docker.io/library/golang:1.18.9-alpine3.17 AS gobuild
FROM docker.io/library/golang:1.20.5-alpine3.18 AS gobuild
COPY --from=hugobuild /homepage/ /homepage/
WORKDIR /homepage

2
go.mod

@ -1,3 +1,3 @@
module git.dotya.ml/dotya.ml/homepage
go 1.18
go 1.20