From ba08af7685d2b99273ed804aca1569eaee8e54d7 Mon Sep 17 00:00:00 2001 From: Jordan Olshevski Date: Tue, 2 Jan 2024 21:22:28 -0600 Subject: [PATCH] Use kubeconfig --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 45fd73c..db51831 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -57,7 +57,9 @@ jobs: image: docker.io/bitnami/kubectl:1.29.0 steps: - name: "Patch Image" - run: kubectl set image deployment/profile svc=$IMAGE + run: | + echo $KUBE_CONFIG | base64 -d > ~/.kube/config + kubectl set image deployment/profile svc=$IMAGE env: KUBE_CONFIG: ${{ secrets.KUBECONFIG }} IMAGE: ${{needs.push.outputs.imageFullName}}