Update manually_build.yml

This commit is contained in:
Heyang Sun 2022-10-12 14:46:36 +08:00 committed by GitHub
parent fc3fb94e23
commit d8d4a05916

View file

@ -66,7 +66,6 @@ jobs:
sudo docker push ${base_image}:${TAG} sudo docker push ${base_image}:${TAG}
sudo docker tag ${base_image}:${TAG} 10.239.45.10/arda/${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 push 10.239.45.10/arda/${base_image}:${TAG}
sudo docker rmi -f ${image}:${TAG}
cd ../bigdl-gramine cd ../bigdl-gramine
openssl genrsa -3 -out enclave-key.pem 3072 openssl genrsa -3 -out enclave-key.pem 3072
sudo docker build \ sudo docker build \
@ -75,7 +74,10 @@ jobs:
--build-arg SGX_MEM_SIZE=32G \ --build-arg SGX_MEM_SIZE=32G \
--build-arg SGX_LOG_LEVEL=error \ --build-arg SGX_LOG_LEVEL=error \
-t ${image}:${TAG} -f ./Dockerfile . -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 rm enclave-key.pem