Upgrade to go 1.24
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ask Bjørn Hansen 2025-04-12 18:57:57 -07:00
parent 2df1862cdd
commit 72592e97b2
2 changed files with 4 additions and 4 deletions

View File

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

View File

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