| # Cloud Build: docker build with Dockerfile.hf, push to Artifact Registry | |
| # Usage (from backend/): | |
| # gcloud builds submit --config=cloudbuild.yaml --project=rapidmk . | |
| substitutions: | |
| _TAG: "v1" | |
| options: | |
| logging: CLOUD_LOGGING_ONLY | |
| steps: | |
| - name: "gcr.io/cloud-builders/docker" | |
| args: | |
| - "build" | |
| - "-f" | |
| - "Dockerfile.hf" | |
| - "-t" | |
| - "us-central1-docker.pkg.dev/${PROJECT_ID}/cepheus/api:${_TAG}" | |
| - "." | |
| images: | |
| - "us-central1-docker.pkg.dev/${PROJECT_ID}/cepheus/api:${_TAG}" | |