Has anyone been able to get Github Actions to buil...
# ask-community
j
Has anyone been able to get Github Actions to build and deploy flows? I’ve been struggling with it for a while and just can’t seem to get the images pushed. I’m using github actions with google cloud registry.
I’ve got my service account setup and auth-ed and am using a prefect runner token in the environment variable
PREFECT__CLOUD__AUTH_TOKEN:
Copy code
- name: Register Flows
  env:
    AGENT_TYPE: cloud
    PREFECT__CLOUD__AUTH_TOKEN: ${{ secrets.PREFECT_RUNNER_TOKEN }}
  run: |
    prefect backend cloud
    cat $GOOGLE_APPLICATION_CREDENTIALS | docker login -u _json_key --password-stdin <https://us.gcr.io>
    python register_flows.py