title: How to pull a Docker image in Github actions for a compute engine VM?
body: <p>Using GH actions I'm building and pushing an image to my docker repository. How can this be pulled on a Google compute engine after having completed <code>setup-gcloud</code>:</p>
  
  <pre><code>      steps:
        - name: setup gcloud
          uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
          with:
            version: '290.0.1'
            project_id: ${{ secrets.GCP_PROJECT_ID }}
            service_account_key: ${{ secrets.GCP_SA_KEY }}
  </code></pre>
  
  <p>I am aware of <a href="https://github.com/GoogleCloudPlatform/github-actions/tree/master/example-workflows/gce" rel="nofollow noreferrer">GCE-Github actions</a> and the google/docker-registry. But as my VM is not <a href="https://cloud.google.com/container-optimized-os/docs/how-to/create-configure-instance" rel="nofollow noreferrer">container-optimized</a> I want to run</p>
  
  <p><code>docker pull [docker-hub-repo]</code> and perform a <code>docker-compose up</code> in a specific dir afterwards.</p>