update dependencies

This commit is contained in:
Alireza Ahmadi
2024-10-29 13:16:47 +01:00
parent 282e244517
commit 42f24c45c9
4 changed files with 449 additions and 383 deletions
+3 -4
View File
@@ -26,13 +26,12 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
cache: false
go-version: '1.22'
go-version-file: go.mod
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
@@ -89,7 +88,7 @@ jobs:
fi
#### Build Sing-Box
export VERSION=v1.9.3
export VERSION=v1.10.1
git clone -b $VERSION https://github.com/SagerNet/sing-box
cd sing-box
go build -tags with_quic,with_grpc,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_v2ray_api,with_clash_api,with_gvisor \
+1 -1
View File
@@ -3,7 +3,7 @@ WORKDIR /app
COPY frontend/ ./
RUN npm install && npm run build
FROM golang:1.22-alpine AS backend-builder
FROM golang:1.23-alpine AS backend-builder
WORKDIR /app
ARG TARGETARCH
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
+2 -2
View File
@@ -1,8 +1,8 @@
FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS singbox-builder
FROM --platform=$BUILDPLATFORM golang:1.23-alpine AS singbox-builder
LABEL maintainer="Alireza <alireza7@gmail.com>"
WORKDIR /app
ARG TARGETOS TARGETARCH
ARG SINGBOX_VER=v1.9.3
ARG SINGBOX_VER=v1.10.1
ARG SINGBOX_TAGS="with_quic,with_grpc,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_v2ray_api,with_clash_api,with_gvisor"
ARG GOPROXY=""
ENV GOPROXY ${GOPROXY}
+443 -376
View File
File diff suppressed because it is too large Load Diff