push base image as well

This commit is contained in:
Heyang Sun 2022-10-12 13:59:01 +08:00 committed by GitHub
parent 0e94e70b85
commit fc3fb94e23

View file

@ -63,6 +63,10 @@ jobs:
--build-arg no_proxy=${NO_PROXY} \
--build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \
-t ${base_image}:${TAG} -f ./Dockerfile .
sudo docker push ${base_image}:${TAG}
sudo docker tag ${base_image}:${TAG} 10.239.45.10/arda/${base_image}:${TAG}
sudo docker push 10.239.45.10/arda/${base_image}:${TAG}
sudo docker rmi -f ${image}:${TAG}
cd ../bigdl-gramine
openssl genrsa -3 -out enclave-key.pem 3072
sudo docker build \
@ -71,10 +75,7 @@ jobs:
--build-arg SGX_MEM_SIZE=32G \
--build-arg SGX_LOG_LEVEL=error \
-t ${image}:${TAG} -f ./Dockerfile .
sudo docker push ${image}:${TAG}
sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
sudo docker push 10.239.45.10/arda/${image}:${TAG}
sudo docker rmi -f ${image}:${TAG}
rm enclave-key.pem