# Builds both AI VM images into the public Artifact Registry (anonymous pull from the VM, like harness/demo-api). # gcloud builds submit ai --project cms-d-414903 --config ai/cloudbuild.yaml --substitutions=_TAG=$(git rev-parse --short HEAD) substitutions: _REPO: asia-northeast1-docker.pkg.dev/cms-d-414903/selfheal-public _TAG: dev steps: - name: gcr.io/cloud-builders/docker args: ["build", "--build-arg", "CMD=agent", "-t", "${_REPO}/ai-agent:${_TAG}", "."] - name: gcr.io/cloud-builders/docker args: ["build", "--build-arg", "CMD=hitl", "-t", "${_REPO}/ai-hitl:${_TAG}", "."] images: - ${_REPO}/ai-agent:${_TAG} - ${_REPO}/ai-hitl:${_TAG}