Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Mar 21, 2024
1 parent 80b4203 commit 295f846
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ jobs:
- name: Retrieve the kubeconfig and decode it to a file
env:
KUBECONFIG: ${{ secrets.KUBECONFIG }}
shell: pwsh
run: |
mkdir ~/.kube
echo "$KUBECONFIG" > ~/.kube/config
cat ~/.kube/config | base64
# mkdir ~/.kube
# echo "$KUBECONFIG" > ~/.kube/config
write-host "base64 = '$([System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($KUBECONFIG)))'"
- name: Test
Expand Down

0 comments on commit 295f846

Please sign in to comment.