Skip to content

Log Into Prefect Cloud #6

Log Into Prefect Cloud

Log Into Prefect Cloud #6

Workflow file for this run

name: Log Into Prefect Cloud
on: workflow_dispatch
jobs:
prefect_auth:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Prefect Auth
uses: PrefectHQ/actions-prefect-auth@v1
with:
prefect-api-key: ${{ secrets.PREFECT_API_KEY }}
prefect-workspace: ${{ secrets.PREFECT_WORKSPACE }}
- name: Login to GAR
uses: docker/login-action@v3
with:
registry: us-east1-docker.pkg.dev
username: _json_key_base64
password: ${{ secrets.GAR_JSON_KEY }}