feat: ajout du dockerfile pour l'init de la database #1423
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Debug kube | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - "feat/**" | |
| - "fix/**" | |
| jobs: | |
| dump: | |
| name: Debug kubeconfig | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: azure/setup-kubectl@v4 | |
| - name: extract kubeconfig | |
| run: | | |
| echo -n "${{secrets.KUBECONFIG}}" | base64 --decode > kubeconfig | |
| - name: list kube data | |
| run: | | |
| KUBECONFIG=./kubeconfig kubectl config get-contexts | |
| dump-prod: | |
| name: Debug kubeconfig production | |
| runs-on: ubuntu-latest | |
| environment: production | |
| steps: | |
| - uses: azure/setup-kubectl@v4 | |
| - name: extract kubeconfig | |
| run: | | |
| echo -n "${{secrets.KUBECONFIG}}" | base64 --decode > kubeconfig | |
| - name: list kube data | |
| run: | | |
| KUBECONFIG=./kubeconfig kubectl config get-contexts |