From 20f1b2963fa3307bea6d004c57073c0ffaa2aea0 Mon Sep 17 00:00:00 2001 From: jeessy2 <6205259+jeessy2@users.noreply.github.com> Date: Fri, 12 Jan 2024 21:15:58 +0800 Subject: [PATCH] revert: golang 1.20 (#977) --- Dockerfile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2250650..9740e81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build stage -FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS builder +FROM --platform=$BUILDPLATFORM golang:1.20-alpine AS builder WORKDIR /app COPY . . diff --git a/go.mod b/go.mod index 5ac02c6..fcc9d3c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/jeessy2/ddns-go/v6 -go 1.21 +go 1.20 require ( github.com/kardianos/service v1.2.2