[PPML] Update occlum production build (#6526)

This commit is contained in:
Wang Jian 2022-11-10 11:04:08 +08:00 committed by GitHub
parent 9c99751288
commit 2fcf2e1fd5

View file

@ -441,6 +441,11 @@ jobs:
--build-arg no_proxy=${NO_PROXY} \ --build-arg no_proxy=${NO_PROXY} \
--build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \ --build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \
-t ${image}:${TAG} -f ./Dockerfile . -t ${image}:${TAG} -f ./Dockerfile .
cd ppml/trusted-big-data-ml/scala/docker-occlum/production
export image_name=${image}:${TAG}
export final_name=${image_name}-build
export container_name=${final_name}-container
bash occlum-build.sh -c $container_name -i $image_name -f $final_name
sudo docker push ${image}:${TAG} sudo docker push ${image}:${TAG}
docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG} docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
docker push 10.239.45.10/arda/${image}:${TAG} docker push 10.239.45.10/arda/${image}:${TAG}