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