Remove proxy args from gateway build
Some checks failed
Build and Deploy Gateway / build-and-deploy (push) Failing after 30s

This commit is contained in:
2026-05-08 17:19:43 +03:00
parent d13eb0a9a4
commit 81bed1513c
2 changed files with 0 additions and 20 deletions

View File

@@ -29,18 +29,10 @@ jobs:
cd repo
REGISTRY_HOST=$(echo "${{ gitea.server_url }}" | sed 's|https\?://||')
IMAGE="${REGISTRY_HOST}/${{ gitea.repository }}/gateway"
BUILD_PROXY="${BUILD_PROXY:-http://192.168.50.111:8080}"
BUILD_NO_PROXY="${BUILD_NO_PROXY:-localhost,127.0.0.1,192.168.50.0/24,192.168.50.109:3000}"
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY_HOST" -u "${{ gitea.actor }}" --password-stdin
docker build \
--network host \
--build-arg HTTP_PROXY="${BUILD_PROXY}" \
--build-arg HTTPS_PROXY="${BUILD_PROXY}" \
--build-arg NO_PROXY="${BUILD_NO_PROXY}" \
--build-arg http_proxy="${BUILD_PROXY}" \
--build-arg https_proxy="${BUILD_PROXY}" \
--build-arg no_proxy="${BUILD_NO_PROXY}" \
-t "${IMAGE}:latest" \
-t "${IMAGE}:${{ gitea.sha }}" \
.

View File

@@ -1,10 +1,4 @@
FROM node:22-bookworm-slim AS ui-build
ARG HTTP_PROXY
ARG HTTPS_PROXY
ARG NO_PROXY
ARG http_proxy
ARG https_proxy
ARG no_proxy
WORKDIR /app
COPY package.json ./
RUN npm install
@@ -14,12 +8,6 @@ RUN npm run build
FROM debian:bookworm-slim
ARG SINGBOX_VERSION=1.12.13
ARG HTTP_PROXY
ARG HTTPS_PROXY
ARG NO_PROXY
ARG http_proxy
ARG https_proxy
ARG no_proxy
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates curl iptables iproute2 nodejs dumb-init \