File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 4646 - |
4747 export GEMINI_SANDBOX_IMAGE_TAG=$$(cat /workspace/image_tag.txt)
4848 echo "Using Docker image tag for build: $$GEMINI_SANDBOX_IMAGE_TAG"
49- npm run build:sandbox:fast
49+ npm run build:sandbox
5050 env :
5151 - ' GEMINI_SANDBOX=$_CONTAINER_TOOL'
5252
@@ -58,13 +58,13 @@ steps:
5858 - -c
5959 - |
6060 set -e
61- IMAGE_TAG=$(cat /workspace/image_tag.txt)
62- BASE_IMAGE_URI=$(npm run -s config get sandboxImageUri)
63- IMAGE_URI_NO_TAG=${BASE_IMAGE_URI%:*}
64- FINAL_IMAGE_URI="${IMAGE_URI_NO_TAG}:${IMAGE_TAG}"
61+ IMAGE_TAG=$$ (cat /workspace/image_tag.txt)
62+ BASE_IMAGE_URI=$$ (npm run -s config get sandboxImageUri)
63+ IMAGE_URI_NO_TAG=$$ {BASE_IMAGE_URI%:*}
64+ FINAL_IMAGE_URI="$$ {IMAGE_URI_NO_TAG}:$ ${IMAGE_TAG}"
6565
66- echo "Pushing sandbox image: ${FINAL_IMAGE_URI}"
67- $_CONTAINER_TOOL push "${FINAL_IMAGE_URI}"
66+ echo "Pushing sandbox image: $$ {FINAL_IMAGE_URI}"
67+ $_CONTAINER_TOOL push "$$ {FINAL_IMAGE_URI}"
6868 env :
6969 - ' GEMINI_SANDBOX=$_CONTAINER_TOOL'
7070
Original file line number Diff line number Diff line change 1919 "scripts" : {
2020 "start" : " node scripts/start.js" ,
2121 "debug" : " cross-env DEBUG=1 node --inspect-brk scripts/start.js" ,
22+ "auth:npm" : " npx google-artifactregistry-auth" ,
23+ "auth:docker" : " gcloud auth configure-docker us-west1-docker.pkg.dev" ,
24+ "auth" : " npm run auth:npm && npm run auth:docker" ,
2225 "generate" : " node scripts/generate-git-commit-info.js" ,
2326 "build" : " node scripts/build.js" ,
2427 "build:all" : " npm run build && npm run build:sandbox" ,
You can’t perform that action at this time.
0 commit comments