Skip to content

Commit

Permalink
Use kubeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jveski committed Jan 3, 2024
1 parent ec25d2e commit ba08af7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit ba08af7

Please sign in to comment.