File size: 518 Bytes
c794b6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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}"