Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
67c8a44389 | |||
4444735e81 | |||
62f3d4f7fd | |||
aeb218e714 |
@ -11,10 +11,13 @@ outputs:
|
|||||||
k8s-config-path:
|
k8s-config-path:
|
||||||
description: "The location of the stored kubeconfig file. You can use this through the KUBECONFIG variable to kubectl calls."
|
description: "The location of the stored kubeconfig file. You can use this through the KUBECONFIG variable to kubectl calls."
|
||||||
value: /opt/kube/config
|
value: /opt/kube/config
|
||||||
|
http-proxy:
|
||||||
|
description: "The URL of the HTTP proxy created by Tailscale"
|
||||||
|
value: "http://localhost:1055"
|
||||||
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
|
||||||
@ -31,5 +34,5 @@ runs:
|
|||||||
KUBECONFIG: /opt/kube/config
|
KUBECONFIG: /opt/kube/config
|
||||||
shell: sh
|
shell: sh
|
||||||
- name: Configure tailscale
|
- name: Configure tailscale
|
||||||
run: tailscaled --tun=userspace-networking --socks5-server=localhost:1055 --outbound-http-proxy-listen=localhost:1055 & tailscale up --authkey="${{ secrets.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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user