From 62f3d4f7fd9428df017dc2dcf249d29dfdd560a9 Mon Sep 17 00:00:00 2001 From: Pal Kerecsenyi Date: Tue, 2 Apr 2024 14:00:09 +0100 Subject: [PATCH] Add DNS and ca-certificates --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b0e2431..9b12fb0 100644 --- a/action.yml +++ b/action.yml @@ -14,7 +14,7 @@ outputs: runs: using: composite steps: - - run: apk add tailscale kubectl bash curl + - run: apk add tailscale kubectl bash curl ca-certificates name: Install dependencies shell: sh - name: Create kube directory @@ -33,3 +33,6 @@ runs: - 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 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