generate secrets

This commit is contained in:
Florian Herrengt 2022-12-05 23:41:15 +00:00
parent 7102fbd479
commit 440dfc8ca3
1 changed files with 8 additions and 2 deletions

View File

@ -3,6 +3,9 @@ on:
push:
branches:
- main
env:
ENCRYPTION_KEY: ${{ secrets.ENCRYPTION_KEY }}
DOCKERCONFIG_JSON: ${{ secrets.DOCKERCONFIG_JSON }}
jobs:
deploy:
runs-on: ubuntu-latest
@ -14,7 +17,10 @@ jobs:
run: chmod +x ./kubectl
- name: Setting up kubeconfig
run: echo "${{ secrets.KUBE_CONFIG }}" > kube.config
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
- name: Setting up secrets
working-directory: kustomization/bases/secrets/
run: ./generate.sh
- name: Setup upterm session
uses: lhotari/action-upterm@v1
- name: Check if it works
run: ./kubectl --kubeconfig ./kube.config get nodes