Skip to content

Commit ed11e0d

Browse files
committed
update to Go 1.23
1 parent 1ae4a6d commit ed11e0d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: '1.22'
19+
go-version: '1.23'
2020

2121
- name: Check out code
2222
uses: actions/checkout@v2

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM golang:1.22 AS builder
1+
FROM golang:1.23 AS builder
22
WORKDIR /go/src/github.com/missuo/unifi-cloudflare-ddns
33
COPY go.mod ./
44
COPY go.sum ./
55
COPY ddns.go ./
6-
RUN go mod download
6+
RUN go get -d -v ./
77
RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o unifi-cloudflare-ddns .
88

99
FROM alpine:latest

0 commit comments

Comments
 (0)