Use sh for shell

This commit is contained in:
Pal Kerecsenyi 2024-01-17 11:15:05 +00:00
parent 43acebdfde
commit 8045002f54
Signed by: palk
GPG Key ID: 6891661E25394C2C

View File

@ -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