From 16c795158daa875499c27e43c50d96507e0a07d8 Mon Sep 17 00:00:00 2001 From: Wang Jian <61138589+hzjane@users.noreply.github.com> Date: Thu, 6 Jul 2023 14:29:09 +0800 Subject: [PATCH] [PPML] Pull new deep-learning base image before build (#8469) * pull new base image before build * update --- .github/workflows/manually_build.yml | 2 ++ .github/workflows/manually_build_for_testing.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/manually_build.yml b/.github/workflows/manually_build.yml index 0df3a76c..3e2f2485 100644 --- a/.github/workflows/manually_build.yml +++ b/.github/workflows/manually_build.yml @@ -92,6 +92,7 @@ jobs: echo "####### bigdl-ppml-trusted-deep-learning-gramine-base ########" echo "##############################################################" export base_image=intelanalytics/bigdl-ppml-gramine-base + docker pull ${base_image}:${TAG} export image=intelanalytics/bigdl-ppml-trusted-deep-learning-gramine-base cd ppml/trusted-deep-learning/base sudo docker build \ @@ -122,6 +123,7 @@ jobs: echo "####### bigdl-ppml-trusted-deep-learning-gramine-ref #########" echo "##############################################################" export base_image=intelanalytics/bigdl-ppml-trusted-deep-learning-gramine-base + docker pull ${base_image}:${TAG} export image=intelanalytics/bigdl-ppml-trusted-deep-learning-gramine-ref cd ppml/trusted-deep-learning/ref openssl genrsa -3 -out enclave-key.pem 3072 diff --git a/.github/workflows/manually_build_for_testing.yml b/.github/workflows/manually_build_for_testing.yml index f4af012f..bae4a3e6 100644 --- a/.github/workflows/manually_build_for_testing.yml +++ b/.github/workflows/manually_build_for_testing.yml @@ -156,6 +156,7 @@ jobs: echo "####### bigdl-ppml-trusted-deep-learning-gramine-base ########" echo "##############################################################" export base_image=intelanalytics/bigdl-ppml-gramine-base + docker pull ${base_image}:${TAG} export image=intelanalytics/bigdl-ppml-trusted-deep-learning-gramine-base cd ppml/trusted-deep-learning/base sudo docker build \ @@ -186,6 +187,7 @@ jobs: echo "####### bigdl-ppml-trusted-deep-learning-gramine-ref #########" echo "##############################################################" export base_image=intelanalytics/bigdl-ppml-trusted-deep-learning-gramine-base + docker pull ${base_image}:${TAG} export image=intelanalytics/bigdl-ppml-trusted-deep-learning-gramine-ref cd ppml/trusted-deep-learning/ref openssl genrsa -3 -out enclave-key.pem 3072