ci,dockerfile,gomod: bump base to go1.20
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d081a79f6d
commit
3dbafe08e7
16
.drone.yml
16
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue