diff --git a/.github/workflows/composite_action/hw/action.yml b/.github/workflows/composite_action/hw/action.yml index 0fde0944..88c566c1 100644 --- a/.github/workflows/composite_action/hw/action.yml +++ b/.github/workflows/composite_action/hw/action.yml @@ -40,7 +40,8 @@ runs: shell: bash - name: Update PCCS server - run: docker exec ${{ env.CONTAINER_NAME }} bash -c "sed -r -i 's/PCCS_URL=https:\/\/localhost:8081\/sgx\/certification\/v3\//PCCS_URL=https:\/\/sgx-dcap-server.cn-shanghai.aliyuncs.com\/sgx\/certification\/v3\//g' /etc/sgx_default_qcnl.conf" + run: | + docker exec ${{ env.CONTAINER_NAME }} bash -c "sed -r -i 's/\"pccs_url\": \"https:\/\/localhost:8081\/sgx\/certification\/v3\/\"/\"pccs_url\": \"https:\/\/sgx-dcap-server.cn-shanghai.aliyuncs.com\/sgx\/certification\/v3\/\"/g' /etc/sgx_default_qcnl.conf" shell: bash # - name: Change download source of crates.io diff --git a/demos/tensorflow/tensorflow_serving/prepare_model_and_env.sh b/demos/tensorflow/tensorflow_serving/prepare_model_and_env.sh index d11ab14b..f2a38dd6 100755 --- a/demos/tensorflow/tensorflow_serving/prepare_model_and_env.sh +++ b/demos/tensorflow/tensorflow_serving/prepare_model_and_env.sh @@ -9,6 +9,6 @@ else fi pip3 install --upgrade pip -pip3 install --upgrade tensorflow==2.4 +pip3 install --upgrade tensorflow==2.4 protobuf==3.19.2 ./download_model.sh python3 ./model_graph_to_saved_model.py --import_path ./models/resnet50-v15-fp32/resnet50-v15-fp32.pb --export_dir ./resnet50-v15-fp32 --model_version 1 --inputs input --outputs predict diff --git a/tools/docker/ci/Dockerfile.tf_serving_occlum b/tools/docker/ci/Dockerfile.tf_serving_occlum index a5b1ddf4..ebfe8101 100644 --- a/tools/docker/ci/Dockerfile.tf_serving_occlum +++ b/tools/docker/ci/Dockerfile.tf_serving_occlum @@ -10,7 +10,7 @@ COPY --from=binary_build /root/tensorflow_model_server /root/tensorflow_model_se ARG OCCLUM_BRANCH RUN apt-get update && apt-get install git && \ - git clone -b $OCCLUM_BRANCH git://github.com/occlum/occlum.git && \ + git clone -b $OCCLUM_BRANCH https://github.com/occlum/occlum.git && \ cd occlum && \ cd demos/tensorflow/tensorflow_serving && \ ./prepare_model_and_env.sh && \