From 67c8a4438908cbff43641a2e5bff8c1a839bc3f2 Mon Sep 17 00:00:00 2001 From: Pal Kerecsenyi Date: Tue, 2 Apr 2024 14:34:33 +0100 Subject: [PATCH] pal pal --- action.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index ab3ad26..929fb91 100644 --- a/action.yml +++ b/action.yml @@ -11,6 +11,9 @@ outputs: k8s-config-path: description: "The location of the stored kubeconfig file. You can use this through the KUBECONFIG variable to kubectl calls." value: /opt/kube/config + http-proxy: + description: "The URL of the HTTP proxy created by Tailscale" + value: "http://localhost:1055" runs: using: composite steps: @@ -33,8 +36,3 @@ 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" | cat - /etc/resolv.conf > /tmp/resolv.conf - mv /tmp/resolv.conf /etc/resolv.conf - shell: sh