Docker build use 1.20 go

This commit is contained in:
yuhan6665 2023-08-20 23:12:13 -04:00
parent c1db1f4dce
commit cd1d000860

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM --platform=$BUILDPLATFORM golang:alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.20-alpine AS build
WORKDIR /src
COPY . .
ARG TARGETOS TARGETARCH