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

This commit is contained in:
surtur 2023-08-13 16:03:13 +02:00
parent 2906fb1b88
commit 131e84bd17
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI
2 changed files with 9 additions and 9 deletions

@ -32,7 +32,7 @@ steps:
- name: golang
pull: always
image: docker.io/library/golang:1.20.5-alpine3.18
image: docker.io/library/golang:1.21.0-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.20.5-alpine3.18
image: docker.io/library/golang:1.21.0-alpine3.18
volumes:
- name: gopath
path: /go
@ -83,7 +83,7 @@ steps:
- go fmt
- name: go vet
image: docker.io/library/golang:1.20.5-alpine3.18
image: docker.io/library/golang:1.21.--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.20.5-alpine3.18
image: docker.io/library/golang:1.21.0-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.20.5-alpine3.18
image: docker.io/library/golang:1.21.0-alpine3.18
volumes:
- name: gopath
path: /go
@ -305,7 +305,7 @@ steps:
- go fmt
- name: go vet
image: docker.io/library/golang:1.20.5-alpine3.18
image: docker.io/library/golang:1.21.0-alpine3.18
volumes:
- name: gopath
path: /go
@ -317,7 +317,7 @@ steps:
- go vet
- name: go build
image: docker.io/library/golang:1.20.5-alpine3.18
image: docker.io/library/golang:1.21.0-alpine3.18
volumes:
- name: gopath
path: /go
@ -466,6 +466,6 @@ steps:
---
kind: signature
hmac: bba585fcc25da54d977b4a233c988f5888f59ef91f51d893aeaefb7cb62c1379
hmac: 4e178bb873563499a7b3b00fdb372acc239dedfb8b151858598a29778349f44c
...

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