构建脚本准备
This commit is contained in:
8
build.sh
8
build.sh
@@ -16,14 +16,14 @@ pushd develop-base
|
|||||||
npx devcontainer build \
|
npx devcontainer build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--image-name ${REGISTRY}/devcontainers/develop-base --push \
|
--image-name ${REGISTRY}/devcontainers/develop-base --push \
|
||||||
--cache-to type=registry,ref=${REGISTRY}/devcontainers/develop-base,mode=max \
|
--cache-to type=registry,ref=${REGISTRY}/devcontainers/develop-base:buildcache,mode=max \
|
||||||
--cache-from type=registry,ref=${REGISTRY}/devcontainers/develop-base
|
--cache-from type=registry,ref=${REGISTRY}/devcontainers/develop-base:buildcache
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd universal-base
|
pushd universal-base
|
||||||
npx devcontainer build \
|
npx devcontainer build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--image-name ${REGISTRY}/devcontainers/universal-base --push \
|
--image-name ${REGISTRY}/devcontainers/universal-base --push \
|
||||||
--cache-to type=registry,ref=${REGISTRY}/devcontainers/universal-base,mode=max \
|
--cache-to type=registry,ref=${REGISTRY}/devcontainers/universal-base:buildcache,mode=max \
|
||||||
--cache-from type=registry,ref=${REGISTRY}/devcontainers/devcontainers/universal-base
|
--cache-from type=registry,ref=${REGISTRY}/devcontainers/universal-base:buildcache
|
||||||
popd
|
popd
|
||||||
|
|||||||
Reference in New Issue
Block a user