mirror of
https://github.com/alireza0/s-ui.git
synced 2026-08-28 05:11:30 +00:00
v1.5.0
Some checks are pending
Release S-UI / build-frontend (push) Waiting to run
Release S-UI / build-386 (push) Blocked by required conditions
Release S-UI / build-amd64 (push) Blocked by required conditions
Release S-UI / build-armv5 (push) Blocked by required conditions
Release S-UI / build-armv6 (push) Blocked by required conditions
Release S-UI / build-armv7 (push) Blocked by required conditions
Release S-UI / build-arm64 (push) Blocked by required conditions
Release S-UI / build-s390x (push) Blocked by required conditions
Build S-UI for Windows / build-frontend (push) Waiting to run
Build S-UI for Windows / build-windows-amd64 (push) Blocked by required conditions
Build S-UI for Windows / build-windows-arm64 (push) Blocked by required conditions
Some checks are pending
Release S-UI / build-frontend (push) Waiting to run
Release S-UI / build-386 (push) Blocked by required conditions
Release S-UI / build-amd64 (push) Blocked by required conditions
Release S-UI / build-armv5 (push) Blocked by required conditions
Release S-UI / build-armv6 (push) Blocked by required conditions
Release S-UI / build-armv7 (push) Blocked by required conditions
Release S-UI / build-arm64 (push) Blocked by required conditions
Release S-UI / build-s390x (push) Blocked by required conditions
Build S-UI for Windows / build-frontend (push) Waiting to run
Build S-UI for Windows / build-windows-amd64 (push) Blocked by required conditions
Build S-UI for Windows / build-windows-arm64 (push) Blocked by required conditions
This commit is contained in:
parent
9a6e875edd
commit
f111d0c9fe
5 changed files with 26 additions and 7 deletions
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
|
|
@ -20,7 +20,7 @@ on:
|
|||
|
||||
env:
|
||||
NODE_VERSION: "25"
|
||||
CRONET_GO_VERSION: "2faf34666c2cc8234f10f2ab6d4c4d6104d34ae2"
|
||||
CRONET_GO_VERSION: "98d539ce67568fb911654e66a14cf4247ed833ec"
|
||||
CRONET_GO_REPO: https://github.com/sagernet/cronet-go.git
|
||||
BOOTLIN_BASE_URL: https://toolchains.bootlin.com/downloads/releases/toolchains
|
||||
|
||||
|
|
@ -164,6 +164,21 @@ jobs:
|
|||
echo "CGO_LDFLAGS=--sysroot=$SYSROOT -static" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Download Go modules (with retry)
|
||||
run: |
|
||||
set -e
|
||||
export GODEBUG=http2client=0
|
||||
for i in 1 2 3 4 5; do
|
||||
if go mod download -x; then
|
||||
echo "go mod download succeeded"
|
||||
exit 0
|
||||
fi
|
||||
echo "go mod download failed (attempt $i), retrying in $((i * 10))s..."
|
||||
sleep $((i * 10))
|
||||
done
|
||||
echo "go mod download failed after 5 attempts" >&2
|
||||
exit 1
|
||||
|
||||
- name: Build s-ui
|
||||
run: |
|
||||
set -e
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@ ENV CGO_ENABLED=1
|
|||
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
ENV GOARCH=$TARGETARCH
|
||||
|
||||
RUN apk update && apk add --no-cache \
|
||||
RUN apk upgrade --no-cache --scripts=no apk-tools && \
|
||||
apk add --no-cache \
|
||||
gcc \
|
||||
musl-dev \
|
||||
libc-dev \
|
||||
|
|
@ -42,7 +43,8 @@ FROM alpine
|
|||
LABEL org.opencontainers.image.authors="alireza7@gmail.com"
|
||||
ENV TZ=Asia/Tehran
|
||||
WORKDIR /app
|
||||
RUN set -ex && apk add --no-cache --upgrade bash tzdata ca-certificates nftables
|
||||
RUN set -ex && apk upgrade --no-cache --scripts=no apk-tools && \
|
||||
apk add --no-cache --upgrade bash tzdata ca-certificates nftables
|
||||
COPY --from=backend-builder /app/sui /app/libcronet.so /app/
|
||||
COPY entrypoint.sh /app/
|
||||
ENTRYPOINT [ "./entrypoint.sh" ]
|
||||
|
|
@ -6,7 +6,8 @@ ENV CGO_ENABLED=1
|
|||
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
ENV GOARCH=$TARGETARCH
|
||||
|
||||
RUN apk update && apk add --no-cache \
|
||||
RUN apk upgrade --no-cache --scripts=no apk-tools && \
|
||||
apk add --no-cache \
|
||||
gcc \
|
||||
musl-dev \
|
||||
libc-dev \
|
||||
|
|
@ -37,7 +38,8 @@ FROM alpine
|
|||
LABEL org.opencontainers.image.authors="alireza7@gmail.com"
|
||||
ENV TZ=Asia/Tehran
|
||||
WORKDIR /app
|
||||
RUN set -ex && apk add --no-cache --upgrade bash tzdata ca-certificates nftables
|
||||
RUN set -ex && apk upgrade --no-cache --scripts=no apk-tools && \
|
||||
apk add --no-cache --upgrade bash tzdata ca-certificates nftables
|
||||
COPY --from=backend-builder /app/sui /app/libcronet.so /app/
|
||||
COPY entrypoint.sh /app/
|
||||
ENTRYPOINT [ "./entrypoint.sh" ]
|
||||
|
|
@ -1 +1 @@
|
|||
1.4.2
|
||||
1.5.0
|
||||
2
frontend
2
frontend
|
|
@ -1 +1 @@
|
|||
Subproject commit a4b88165023003acd8f25c90d4cb395b7f996b50
|
||||
Subproject commit 2ae2569cd4eaf4f93b2bc708b14a0ba325fa96c9
|
||||
Loading…
Add table
Add a link
Reference in a new issue