Add DNS and ca-certificates

This commit is contained in:
Pal Kerecsenyi 2024-04-02 14:00:09 +01:00
parent aeb218e714
commit 62f3d4f7fd
Signed by: palk
GPG Key ID: 6891661E25394C2C

View File

@ -14,7 +14,7 @@ outputs:
runs: runs:
using: composite using: composite
steps: steps:
- run: apk add tailscale kubectl bash curl - run: apk add tailscale kubectl bash curl ca-certificates
name: Install dependencies name: Install dependencies
shell: sh shell: sh
- name: Create kube directory - name: Create kube directory
@ -33,3 +33,6 @@ runs:
- name: Configure tailscale - name: Configure tailscale
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
run: echo -e "nameserver 100.100.100.100\nnameserver 1.1.1.1\nnameserver 1.0.0.1" > /etc/resolv.conf
shell: sh