From 3e23ed99d14637332d11322242ee2e230a86ddae Mon Sep 17 00:00:00 2001 From: QXYang686 Date: Sat, 14 Feb 2026 22:21:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=84=E5=BB=BA=E8=84=9A=E6=9C=AC=E5=87=86?= =?UTF-8?q?=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index f11af09..23df22d 100644 --- a/build.sh +++ b/build.sh @@ -5,26 +5,23 @@ export REGISTRY=registry.yqxpro.com pushd common-base npx devcontainer build \ --platform linux/amd64,linux/arm64 \ - --image-name ${REGISTRY}/devcontainers/common-base \ + --image-name ${REGISTRY}/devcontainers/common-base --push \ --cache-to type=registry,ref=${REGISTRY}/devcontainers/common-base:buildcache,mode=max \ --cache-from type=registry,ref=${REGISTRY}/devcontainers/common-base:buildcache && \ - docker push ${REGISTRY}/devcontainers/common-base &&\ popd pushd develop-base npx devcontainer build \ --platform linux/amd64,linux/arm64 \ - --image-name ${REGISTRY}/devcontainers/develop-base \ + --image-name ${REGISTRY}/devcontainers/develop-base --push \ --cache-to type=local,ref=${REGISTRY}/devcontainers/develop-base,mode=max \ --cache-from type=local,ref=${REGISTRY}/devcontainers/develop-base && \ - docker push ${REGISTRY}/devcontainers/develop-base &&\ popd pushd universal-base npx devcontainer build \ --platform linux/amd64,linux/arm64 \ - --image-name ${REGISTRY}/devcontainers/universal-base \ + --image-name ${REGISTRY}/devcontainers/universal-base --push \ --cache-to type=local,dest=${HOME}/docker-buildcache/devcontainers/universal-base,mode=max \ --cache-from type=local,src=${HOME}/docker-buildcache/devcontainers/universal-base && \ - docker push ${REGISTRY}/devcontainers/universal-base &&\ popd