diff options
-rw-r--r-- | .github/workflows/build-deploy.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml index 8bdc601..8aa8884 100644 --- a/.github/workflows/build-deploy.yaml +++ b/.github/workflows/build-deploy.yaml @@ -58,6 +58,8 @@ jobs: with: repository: python-discord/kubernetes + - uses: azure/setup-kubectl@v3 + - name: Authenticate with Kubernetes uses: azure/k8s-set-context@v3 with: @@ -65,9 +67,8 @@ jobs: kubeconfig: ${{ secrets.KUBECONFIG }} - name: Deploy to Kubernetes - uses: Azure/k8s-deploy@v1 + uses: azure/k8s-deploy@v4 with: manifests: | namespaces/default/king-arthur/deployment.yaml images: 'ghcr.io/python-discord/king-arthur:${{ inputs.sha-tag }}' - kubectl-version: 'latest' |