v1.3.0-beta.0
This commit is contained in:
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- armv5
|
- armv5
|
||||||
- 386
|
- 386
|
||||||
- s390x
|
- s390x
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4.2.2
|
uses: actions/checkout@v4.2.2
|
||||||
|
|||||||
+2
-2
@@ -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.23-alpine AS backend-builder
|
FROM golang:1.24-alpine AS backend-builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
|
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
|
RUN apk update && apk --no-cache --update add build-base gcc wget unzip
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=front-builder /app/dist/ /app/web/html/
|
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
|
FROM --platform=$TARGETPLATFORM alpine
|
||||||
LABEL org.opencontainers.image.authors="alireza7@gmail.com"
|
LABEL org.opencontainers.image.authors="alireza7@gmail.com"
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ mkdir -p web/html
|
|||||||
rm -fr web/html/*
|
rm -fr web/html/*
|
||||||
cp -R frontend/dist/* 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
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
1.2.2
|
1.3.0-beta.0
|
||||||
+1
-1
Submodule frontend updated: ca7894f87a...c4ac3ad924
Reference in New Issue
Block a user