diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5ef5a6..c0fbe05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - armv5 - 386 - s390x - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v4.2.2 diff --git a/Dockerfile b/Dockerfile index b57f518..1a4e01a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ WORKDIR /app COPY frontend/ ./ RUN npm install && npm run build -FROM golang:1.23-alpine AS backend-builder +FROM golang:1.24-alpine AS backend-builder WORKDIR /app ARG TARGETARCH ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE" @@ -12,7 +12,7 @@ ENV GOARCH=$TARGETARCH RUN apk update && apk --no-cache --update add build-base gcc wget unzip COPY . . COPY --from=front-builder /app/dist/ /app/web/html/ -RUN go build -ldflags="-w -s" -tags "with_quic,with_grpc,with_ech,with_utls,with_reality_server,with_acme,with_gvisor" -o sui main.go +RUN go build -ldflags="-w -s" -tags "with_quic,with_grpc,with_utls,with_acme,with_gvisor" -o sui main.go FROM --platform=$TARGETPLATFORM alpine LABEL org.opencontainers.image.authors="alireza7@gmail.com" diff --git a/build.sh b/build.sh index d36b167..8e3c8c0 100755 --- a/build.sh +++ b/build.sh @@ -11,4 +11,4 @@ mkdir -p web/html rm -fr web/html/* cp -R frontend/dist/* web/html/ -go build -ldflags "-w -s" -tags "with_quic,with_grpc,with_ech,with_utls,with_reality_server,with_acme,with_gvisor" -o sui main.go +go build -ldflags "-w -s" -tags "with_quic,with_grpc,with_utls,with_acme,with_gvisor" -o sui main.go diff --git a/config/version b/config/version index d2d61a7..7ac9aae 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.2.2 \ No newline at end of file +1.3.0-beta.0 \ No newline at end of file diff --git a/frontend b/frontend index ca7894f..c4ac3ad 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit ca7894f87aee812fff85e2e2c209512859f3a06b +Subproject commit c4ac3ad92401bc72ff85f92b7daa6e1ef0bab039