Change DNS config setup
This commit is contained in:
parent
62f3d4f7fd
commit
4444735e81
@ -34,5 +34,7 @@ runs:
|
|||||||
run: tailscaled --tun=userspace-networking --socks5-server=localhost:1055 --outbound-http-proxy-listen=localhost:1055 & tailscale up --authkey="${{ inputs.tailscale-token }}" --advertise-tags=tag:gitea-runners
|
run: tailscaled --tun=userspace-networking --socks5-server=localhost:1055 --outbound-http-proxy-listen=localhost:1055 & tailscale up --authkey="${{ inputs.tailscale-token }}" --advertise-tags=tag:gitea-runners
|
||||||
shell: sh
|
shell: sh
|
||||||
- name: Configure DNS
|
- name: Configure DNS
|
||||||
run: echo -e "nameserver 100.100.100.100\nnameserver 1.1.1.1\nnameserver 1.0.0.1" > /etc/resolv.conf
|
run: |
|
||||||
|
echo -e "nameserver 100.100.100.100\nnameserver 1.1.1.1\nnameserver 1.0.0.1" | cat - /etc/resolv.conf > /tmp/resolv.conf
|
||||||
|
mv /tmp/resolv.conf /etc/resolv.conf
|
||||||
shell: sh
|
shell: sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user