diff --git a/.gitea/workflows/runner.yaml b/.gitea/workflows/runner.yaml index 6c02999..89a44d1 100644 --- a/.gitea/workflows/runner.yaml +++ b/.gitea/workflows/runner.yaml @@ -8,6 +8,8 @@ jobs: container: image: bitnami/kubectl:1.21 options: --cpus 1 + env: + KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} steps: - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" @@ -16,6 +18,7 @@ jobs: # uses: actions/checkout@v4 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - run: kubectl get ns - name: List files in the repository run: | ls ${{ gitea.workspace }}