From 300c1d4c0626b7edfa34378da7ccedf98a1883dc Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Sat, 31 Jul 2021 10:49:09 +0200 Subject: [PATCH] Update build_bromite.yaml --- .github/workflows/build_bromite.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_bromite.yaml b/.github/workflows/build_bromite.yaml index 9f4e109..a44822b 100644 --- a/.github/workflows/build_bromite.yaml +++ b/.github/workflows/build_bromite.yaml @@ -29,12 +29,14 @@ jobs: path: bromite-buildtools fetch-depth: 1 - - name: Get current proxy settings + - name: Enable proxy on container shell: bash run: | if ! [[ -z "${HTTP_PROXY}" ]]; then PROXY_ADDR=http://$(hostname -I | xargs):8118 echo "PROXY_ADDR=$PROXY_ADDR" >> $GITHUB_ENV + sudo iptables -D INPUT -p tcp -s localhost --dport 8118 -j ACCEPT + sudo iptables -D INPUT -p tcp --dport 8118 -j DROP fi - name: Get current chromium version