Use sh for shell
This commit is contained in:
parent
43acebdfde
commit
8045002f54
10
action.yml
10
action.yml
@ -16,20 +16,20 @@ runs:
|
||||
steps:
|
||||
- run: apk add tailscale kubectl bash curl
|
||||
name: Install dependencies
|
||||
shell: bash
|
||||
shell: sh
|
||||
- name: Create kube directory
|
||||
run: mkdir /opt/kube
|
||||
shell: bash
|
||||
shell: sh
|
||||
- name: Bootstrap kubeconfig
|
||||
run: echo "$PALTIVERSE_K8S" | base64 -d > /opt/kube/config
|
||||
env:
|
||||
PALTIVERSE_K8S: ${{ inputs.k8s-config }}
|
||||
shell: bash
|
||||
shell: sh
|
||||
- name: Add tailscale proxy to kubeconfig
|
||||
run: kubectl config set clusters.default.proxy-url http://localhost:1055
|
||||
env:
|
||||
KUBECONFIG: /opt/kube/config
|
||||
shell: bash
|
||||
shell: sh
|
||||
- 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
|
||||
shell: bash
|
||||
shell: sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user