chore: upgrade to go 1.23.0 & alpine 3.20

This commit is contained in:
Earl Warren 2024-08-22 16:21:59 +02:00
parent 627ef246c6
commit 59690374c1
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 7 additions and 7 deletions
.forgejo/workflows
Dockerfilego.mod

View file

@ -36,12 +36,12 @@ jobs:
- ${{ env.FORGEJO_SCRIPT }}
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.21'
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- run: make vet
- run: make build

View file

@ -1,6 +1,6 @@
FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/tonistiigi/xx AS xx
FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.21-alpine3.19 as build-env
FROM --platform=$BUILDPLATFORM code.forgejo.org/oci/golang:1.23-alpine3.20 as build-env
#
# Transparently cross compile for the target platform
@ -19,7 +19,7 @@ WORKDIR /srv
RUN make clean && make build
FROM code.forgejo.org/oci/alpine:3.19
FROM code.forgejo.org/oci/alpine:3.20
ARG RELEASE_VERSION
RUN apk add --no-cache git bash

2
go.mod
View file

@ -1,6 +1,6 @@
module gitea.com/gitea/act_runner
go 1.21
go 1.23.0
require (
code.gitea.io/actions-proto-go v0.4.0