Update check_git_apply.yaml
This commit is contained in:
parent
946df3e35d
commit
99fc6289da
11
.github/workflows/check_git_apply.yaml
vendored
11
.github/workflows/check_git_apply.yaml
vendored
@ -21,15 +21,6 @@ jobs:
|
|||||||
get-git-apply:
|
get-git-apply:
|
||||||
runs-on: ci
|
runs-on: ci
|
||||||
|
|
||||||
container:
|
|
||||||
image: uazo/build-deps:latest
|
|
||||||
env:
|
|
||||||
GITHUB_SHA: ${{ github.event.inputs.rtag }}
|
|
||||||
USELOCALIMAGE: true # CUSTOM RUNNER: permit use of local images
|
|
||||||
REMOVEDOCKERSUPPORT: false # CUSTOM RUNNER: remove sharing of docker socket
|
|
||||||
volumes:
|
|
||||||
- /tmp/proxy:/tmp/proxy
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Prepare container
|
- name: Prepare container
|
||||||
@ -37,6 +28,8 @@ jobs:
|
|||||||
sudo chown lg /etc/apt/apt.conf.d/proxy.conf
|
sudo chown lg /etc/apt/apt.conf.d/proxy.conf
|
||||||
sudo chown lg .
|
sudo chown lg .
|
||||||
|
|
||||||
|
sudo iptables -D INPUT -p tcp -s localhost --dport 8118 -j ACCEPT
|
||||||
|
sudo iptables -D INPUT -p tcp --dport 8118 -j DROP
|
||||||
sudo echo Acquire::http::Proxy \"http://172.18.0.1:8118\"\; >/etc/apt/apt.conf.d/proxy.conf
|
sudo echo Acquire::http::Proxy \"http://172.18.0.1:8118\"\; >/etc/apt/apt.conf.d/proxy.conf
|
||||||
export HTTPS_PROXY=http://172.18.0.1:8118
|
export HTTPS_PROXY=http://172.18.0.1:8118
|
||||||
export HTTP_PROXY=http://172.18.0.1:8118
|
export HTTP_PROXY=http://172.18.0.1:8118
|
||||||
|
Loading…
Reference in New Issue
Block a user