Upgrade to go 1.23
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ask Bjørn Hansen 2024-11-27 19:16:27 -08:00
parent c0c61a71c2
commit 2df1862cdd
3 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ name: default
steps:
- name: test
image: golang:1.21.3
image: golang:1.23.3
commands:
- pwd
- go test -v
@ -55,6 +55,6 @@ volumes:
---
kind: signature
hmac: ae129d718e76a9823a7cbf74cbb38eb6684bae1f38f9a7c94731fa62f42a2d0a
hmac: d251c6c49b413a1db16481ea7f75050ab2775ab9ec9e52c8770f06232cf28058
...

View File

@ -1,9 +1,9 @@
FROM golang:1.21.3-alpine3.18 as builder
FROM golang:1.23.3-alpine3.20 as builder
WORKDIR /go/src/gitea.develooper.com/ask/drone-test
ADD . .
RUN CGO_ENABLED=1 GOOS=linux go build -o demo
FROM alpine:3.18 as production
FROM alpine:3.20 as production
USER root

2
go.mod
View File

@ -1,3 +1,3 @@
module gitea.develooper.com/ask/drone-test
go 1.21
go 1.23