talos-platform/.github/workflows/deploy.yml
bast b3098a814f
Some checks failed
Talos Platform Deploy / deploy (push) Failing after 5m18s
.github/workflows/deploy.yml aktualisiert
2026-11-08 02:11:24 +00:00

26 lines
690 B
YAML

name: Talos Platform Deploy
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v4
- name: Prepare Kubernetes Access (Talos)
run: |
echo "${{ secrets.KUBECONFIG_TALOS }}" > ./talos_kubeconfig
chmod 600 ./talos_kubeconfig
test -s ./talos_kubeconfig || { echo "KUBECONFIG_TALOS ist leer oder fehlt"; exit 1; }
- name: Terraform Deploy
env:
TF_VAR_longhorn_basic_auth: ${{ secrets.LONGHORN_BASIC_AUTH }}
run: |
terraform init
terraform apply -auto-approve