File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -84,4 +84,4 @@ builds:
8484 - muslc
8585
8686universal_binaries :
87- - id : darwin
87+ - id : darwin
Original file line number Diff line number Diff line change 1- FROM golang:1.19 AS builder
1+ FROM golang:1.21 AS builder
22
33WORKDIR /root
4- COPY dist/ /root/
4+ COPY ./ dist/ /root/
55
66ARG TARGETARCH
77RUN if [ "${TARGETARCH}" = "arm64" ]; then \
@@ -10,11 +10,11 @@ RUN if [ "${TARGETARCH}" = "arm64" ]; then \
1010 cp linux_linux_amd64_v1/nibid /root/nibid; \
1111 fi
1212
13- FROM alpine
13+ FROM alpine:latest
1414
1515WORKDIR /root
1616RUN apk --no-cache add ca-certificates
1717COPY --from=builder /root/nibid /usr/local/bin/nibid
1818
1919ENTRYPOINT ["nibid" ]
20- CMD [ "start" ]
20+ CMD [ "start" ]
Original file line number Diff line number Diff line change @@ -142,4 +142,4 @@ go.sum: go.mod
142142 @echo " --> Ensure dependencies have not been modified"
143143 @go mod verify
144144
145- .PHONY : build install
145+ .PHONY : build install
You can’t perform that action at this time.
0 commit comments