update authentik workflow
All checks were successful
/ non-lab (push) Successful in 1m27s

This commit is contained in:
Chris Cowley 2025-04-02 16:49:35 +02:00
parent 4e68cef823
commit 205c65bc11

View file

@ -7,7 +7,7 @@ on:
jobs:
authentik":
runs-on: docker
runs-on: ubuntu
steps:
- uses: actions/checkout@v4
with:
@ -35,11 +35,11 @@ jobs:
export AUTHENTIK_TOKEN=${{ secrets.AUTHENTIK_TOKEN }}
export AUTHENTIK_URL="https://auth.lab.cowley.tech"
tofu plan -out tfplan
- name: Tofu Apply
working-directory: ${{ github.workspace }}/authentik"
run: |
export KUBE_CONFIG_PATH="/tmp/kubeconfig"
echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
export AUTHENTIK_TOKEN=${{ secrets.AUTHENTIK_TOKEN }}
export AUTHENTIK_URL="https://auth.lab.cowley.tech"
tofu apply tfplan
#- name: Tofu Apply
# working-directory: ${{ github.workspace }}/authentik"
# run: |
# export KUBE_CONFIG_PATH="/tmp/kubeconfig"
# echo ${{ secrets.KUBE_CONFIG_BASE64 }} | base64 -d > ${KUBE_CONFIG_PATH}
# export AUTHENTIK_TOKEN=${{ secrets.AUTHENTIK_TOKEN }}
# export AUTHENTIK_URL="https://auth.lab.cowley.tech"
# tofu apply tfplan