<p>I'm trying to use this github-action: <a href="https://github.com/ameydev/gke-kubectl-action" rel="nofollow noreferrer">https://github.com/ameydev/gke-kubectl-action</a></p>
<ul>
<li>the purpose is to be able to set deployment image in k8s in gcloud in the ci-cd.</li>
</ul>
<p>it needs <code>APPLICATION_CREDENTIALS</code> from my gcloud account.</p>
<p>the plugin use this here: (<a href="https://github.com/ameydev/gke-kubectl-action/blob/master/entrypoint.sh#L16" rel="nofollow noreferrer">https://github.com/ameydev/gke-kubectl-action/blob/master/entrypoint.sh#L16</a>)</p>
<pre><code>echo &quot;$APPLICATION_CREDENTIALS&quot; | base64 -d &gt; /tmp/account.json
</code></pre>
<p>I have no idea what it is and how to get it.</p>
<p>Thank you!</p>

Stav Alfi
<p>It refers to the service account json file.</p>
<p>Here is a link you can follow:</p>
<p><a href="https://cloud.google.com/docs/authentication/getting-started" rel="nofollow noreferrer">https://cloud.google.com/docs/authentication/getting-started</a></p>
<p>You need to assign an appropriate role to a service account and download the key.</p>
<p>Then copy the content of the key and put it against the variable e.g. APPLICATION_CREDENTIALS.</p>
