chore: upgrade golang version

This commit is contained in:
Andy Hsu 2023-11-25 14:22:13 +08:00
parent 68af284dad
commit d5f381ef6f
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest]
go-version: [ '1.20' ]
go-version: [ '1.21' ]
name: Build
runs-on: ${{ matrix.platform }}
steps:

View File

@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest ]
go-version: [ '1.20' ]
go-version: [ '1.21' ]
name: Release
runs-on: ${{ matrix.platform }}
steps:

View File

@ -1,11 +1,11 @@
FROM alpine:3.18 as builder
FROM alpine:edge as builder
LABEL stage=go-builder
WORKDIR /app/
COPY ./ ./
RUN apk add --no-cache bash curl gcc git go musl-dev; \
bash build.sh release docker
FROM alpine:3.18
FROM alpine:edge
LABEL MAINTAINER="i@nn.ci"
VOLUME /opt/alist/data/
WORKDIR /opt/alist/

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/alist-org/alist/v3
go 1.20
go 1.21
require (
github.com/SheltonZhu/115driver v1.0.21