This commit is contained in:
parent
4e68cef823
commit
205c65bc11
1 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue