project
└───custom-builder-prefect
│ │ Dockerfile
|
└───prefect-code
└───flows
| │ first_flow.py
| │ second_flow.py
|
└───ci-cd
│ cloudbuild.yaml
- Create a new project
- Install gcloud CLI
- Authenticate with gcloud
- Enable cloud build API
cd ./customer-builder-prefect
gcloud builds submit --tag gcr.io/{project_name}/{image_name}
cd ..
sudo apt-get install google-cloud-sdk-cloud-build-local
cloud-build-local --version
cd ./prefect-code
cloud-build-local --config=ci-cd/cloudbuild.yaml --dryrun=false .