Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(cloudbuild): update image tagging to use _TAG variable for consistency

fudjia8a2d79ef42a5
diff --git a/deploy/sniper/cloudbuild.yaml b/deploy/sniper/cloudbuild.yaml
index ffbe0612e..77f82d0ee 100644
--- a/deploy/sniper/cloudbuild.yaml
+++ b/deploy/sniper/cloudbuild.yaml
@@ -11,17 +11,23 @@
# Or end to end (build → push → deploy → verify):
# node scripts/deploy-sniper.mjs
+# _TAG defaults to "latest" so a manual `gcloud builds submit` works with no extra
+# flags. The built-in $SHORT_SHA is only populated for trigger/VCS builds — on a
+# local submit it is empty, which produced an invalid "…/agent-sniper:" image name
+# and failed the build at validation. A Cloud Build trigger can still override _TAG
+# with the commit SHA. cloudrun.yaml pulls :latest, so that tag is what deploys.
substitutions:
_REGION: us-central1
_REPO: workers
_IMAGE: agent-sniper
+ _TAG: latest
steps:
- name: gcr.io/cloud-builders/docker
args:
- build
- -t
- - ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:$SHORT_SHA
+ - ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:${_TAG}
- -t
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:latest
- -f
@@ -30,7 +36,7 @@ steps:
timeout: 1200s
images:
- - ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:$SHORT_SHA
+ - ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:${_TAG}
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:latest
options:
diff --git a/deploy/world/cloudbuild.yaml b/deploy/world/cloudbuild.yaml
index 2dfbdef9a..9eefaba83 100644
--- a/deploy/world/cloudbuild.yaml
+++ b/deploy/world/cloudbuild.yaml
@@ -8,17 +8,23 @@
# Cloud Build → Triggers → Create Trigger → connect GitHub repo →
# filter to deploy/world/** changes → build config = deploy/world/cloudbuild.yaml
+# _TAG defaults to "latest" so a manual `gcloud builds submit` works with no extra
+# flags. The built-in $SHORT_SHA is only populated for trigger/VCS builds — on a
+# local submit it is empty, which produced an invalid "…/hyperfy:" image name and
+# failed the build at validation. A Cloud Build trigger can still override _TAG
+# with the commit SHA. The cloudrun.yaml pulls :latest, so that tag is what deploys.
substitutions:
_REGION: us-central1
_REPO: world
_IMAGE: hyperfy
+ _TAG: latest
steps:
- name: gcr.io/cloud-builders/docker
args:
- build
- -t
- - ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:$SHORT_SHA
+ - ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:${_TAG}
- -t
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:latest
- -f
@@ -27,7 +33,7 @@ steps:
timeout: 900s
images:
- - ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:$SHORT_SHA
+ - ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:${_TAG}
- ${_REGION}-docker.pkg.dev/$PROJECT_ID/${_REPO}/${_IMAGE}:latest
options: