fix: update kubeconfig path in build workflow to use HOME directory
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 8s
Some checks failed
Build and Push to Private Registry101 / build (push) Failing after 8s
This commit is contained in:
@@ -30,7 +30,7 @@ jobs:
|
|||||||
name: Push Docker image
|
name: Push Docker image
|
||||||
- env:
|
- env:
|
||||||
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
|
KUBECONFIG: '${{ secrets.KUBECONFIG }}'
|
||||||
run: echo $KUBECONFIG > .kube/config &&
|
run: echo $KUBECONFIG > $HOME/.kube/config &&
|
||||||
curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm &&
|
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
|
/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