Hi,
I understand that you have an external Kubernetes cluster and you execute a command in a GitHub Action workflow.
It looks like you have to get the GKE credentials in order to have access to your cluster. Here you can find an example of how to deal with GKE and GH Actions setup-gcloud/gke.yml at master · google-github-actions/setup-gcloud · GitHub