This commit is contained in:
2026-02-14 17:54:53 +08:00
parent a5548eb652
commit 62cdb18e6c
3 changed files with 4 additions and 4 deletions

View File

@@ -16,10 +16,10 @@ $(SUBDIRS):
@pushd $@ && \
npx devcontainer build \
--platform linux/amd64,linux/arm64 \
--image-name $(REGISTRY)/devcontainers/$@ \
--image-name $(REGISTRY)/devcontainers-$@ \
--cache-to type=local,dest=$(HOME)/docker-buildcache/devcontainers/$@,mode=max \
--cache-from type=local,src=$(HOME)/docker-buildcache/devcontainers/$@ && \
docker push $(REGISTRY)/devcontainers/$@ &&\
docker push $(REGISTRY)/devcontainers-$@ &&\
popd
# 伪目标声明