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 - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
cache: false go-version-file: go.mod
go-version: '1.22'
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '22'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- name: Install dependencies - name: Install dependencies
@@ -89,7 +88,7 @@ jobs:
fi fi
#### Build Sing-Box #### Build Sing-Box
export VERSION=v1.9.3 export VERSION=v1.10.1
git clone -b $VERSION https://github.com/SagerNet/sing-box git clone -b $VERSION https://github.com/SagerNet/sing-box
cd 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 \ 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/ ./ COPY frontend/ ./
RUN npm install && npm run build RUN npm install && npm run build
FROM golang:1.22-alpine AS backend-builder FROM golang:1.23-alpine AS backend-builder
WORKDIR /app WORKDIR /app
ARG TARGETARCH ARG TARGETARCH
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE" 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>" LABEL maintainer="Alireza <alireza7@gmail.com>"
WORKDIR /app WORKDIR /app
ARG TARGETOS TARGETARCH 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 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="" ARG GOPROXY=""
ENV GOPROXY ${GOPROXY} ENV GOPROXY ${GOPROXY}
+443 -376
View File
File diff suppressed because it is too large Load Diff