Download backend/cloudbuild.yaml from SolutionChallenge/solution_challenge_backend: direct link, hf CLI and curl.
- Browser
- Download file 518 Bytes
-
https://huggingface.co/spaces/SolutionChallenge/solution_challenge_backend/resolve/main/backend/cloudbuild.yaml
- Command line
-
hf download hf://spaces/SolutionChallenge/solution_challenge_backend/backend/cloudbuild.yaml
-
curl -L -o cloudbuild.yaml https://huggingface.co/spaces/SolutionChallenge/solution_challenge_backend/resolve/main/backend/cloudbuild.yaml
518 Bytes
| # 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}" | |