fix: update KUBECONFIG to use base64 encoded value in build workflow
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 9s
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 9s
This commit is contained in:
@@ -29,8 +29,8 @@ jobs:
|
||||
- run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} # Push the Docker image
|
||||
name: Push Docker image
|
||||
- env:
|
||||
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
|
||||
run: mkdir -p $HOME/.kube &&echo $KUBECONFIG > $HOME/.kube/config &&
|
||||
KUBECONFIG: '${{ secrets.KUBEB64 }}'
|
||||
run: mkdir -p $HOME/.kube &&echo "$KUBECONFIG" | base64 -d > $HOME/.kube/config &&
|
||||
curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm &&
|
||||
/usr/local/bin/helm upgrade --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm char
|
||||
|
||||
|
||||
Reference in New Issue
Block a user