重整
This commit is contained in:
6
build.sh
6
build.sh
@@ -4,7 +4,7 @@ export REGISTRY=registry.yqxpro.com
|
|||||||
|
|
||||||
find . -name "Dockerfile" -type f -exec sed -i 's|registry.yqxpro.com|${REGISTRY}|g' {} +
|
find . -name "Dockerfile" -type f -exec sed -i 's|registry.yqxpro.com|${REGISTRY}|g' {} +
|
||||||
|
|
||||||
pushd
|
pushd common-base
|
||||||
npx devcontainer build \
|
npx devcontainer build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--image-name ${REGISTRY}/devcontainers/common-base \
|
--image-name ${REGISTRY}/devcontainers/common-base \
|
||||||
@@ -13,7 +13,7 @@ npx devcontainer build \
|
|||||||
docker push ${REGISTRY}/devcontainers/common-base &&\
|
docker push ${REGISTRY}/devcontainers/common-base &&\
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd
|
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 \
|
--image-name ${REGISTRY}/devcontainers/develop-base \
|
||||||
@@ -22,7 +22,7 @@ npx devcontainer build \
|
|||||||
docker push ${REGISTRY}/devcontainers/develop-base &&\
|
docker push ${REGISTRY}/devcontainers/develop-base &&\
|
||||||
popd
|
popd
|
||||||
|
|
||||||
pushd
|
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 \
|
--image-name ${REGISTRY}/devcontainers/universal-base \
|
||||||
|
|||||||
Reference in New Issue
Block a user