Fix bigdl-llm-serving-tdx image (#9251)
This commit is contained in:
parent
db37edae8a
commit
9faa2f1eef
1 changed files with 12 additions and 7 deletions
19
.github/workflows/manually_build_for_testing.yml
vendored
19
.github/workflows/manually_build_for_testing.yml
vendored
|
|
@ -34,7 +34,7 @@ on:
|
|||
- bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer
|
||||
- bigdl-ppml-trusted-realtime-ml-scala-graphene
|
||||
- bigdl-ppml-trusted-realtime-ml-scala-occlum
|
||||
- bigdl-ppml-trusted-bigdl-llm-tdx
|
||||
- trusted-bigdl-llm-serving-tdx
|
||||
- bigdl-ppml-trusted-fastchat-tdx
|
||||
- bigdl-ppml-kmsutil
|
||||
- bigdl-ppml-pccs
|
||||
|
|
@ -202,8 +202,8 @@ jobs:
|
|||
sudo docker push 10.239.45.10/arda/${base_image}:${TAG}
|
||||
sudo docker rmi -f ${base_image}:${TAG} 10.239.45.10/arda/${base_image}:${TAG}
|
||||
|
||||
bigdl-ppml-trusted-bigdl-llm-tdx:
|
||||
if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-bigdl-llm-tdx' || github.event.inputs.artifact == 'all' }}
|
||||
trusted-bigdl-llm-serving-tdx:
|
||||
if: ${{ github.event.inputs.artifact == 'trusted-bigdl-llm-serving-tdx' || github.event.inputs.artifact == 'all' }}
|
||||
runs-on: [self-hosted, Shire]
|
||||
|
||||
steps:
|
||||
|
|
@ -213,23 +213,28 @@ jobs:
|
|||
- name: docker login
|
||||
run: |
|
||||
docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}
|
||||
- name: bigdl-ppml-trusted-bigdl-llm-tdx
|
||||
- name: trusted-bigdl-llm-serving-tdx
|
||||
run: |
|
||||
echo "##############################################################"
|
||||
echo "####### bigdl-ppml-trusted-bigdl-llm-tdx ###########"
|
||||
echo "####### trusted-bigdl-llm-serving-tdx ###########"
|
||||
echo "##############################################################"
|
||||
export image=intelanalytics/bigdl-ppml-trusted-bigdl-llm-tdx
|
||||
cd ppml/tdx/docker/trusted-bigdl-llm/
|
||||
export image=intelanalytics/trusted-bigdl-llm-serving-tdx
|
||||
export base_image=intelanalytics/bigdl-llm-serving-cpu
|
||||
docker pull ${base_image}:${TAG}
|
||||
cd ppml/tdx/docker/trusted-bigdl-llm/serving/docker
|
||||
sudo docker build \
|
||||
--no-cache=true \
|
||||
--build-arg http_proxy=${HTTP_PROXY} \
|
||||
--build-arg https_proxy=${HTTPS_PROXY} \
|
||||
--build-arg BASE_IMAGE_NAME=${base_image} \
|
||||
--build-arg BASE_IMAGE_TAG=${TAG} \
|
||||
--build-arg no_proxy=${NO_PROXY} \
|
||||
-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} 10.239.45.10/arda/${image}:${TAG}
|
||||
sudo docker rmi -f ${base_image}:${TAG}
|
||||
|
||||
bigdl-ppml-trusted-fastchat-tdx:
|
||||
if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-fastchat-tdx' || github.event.inputs.artifact == 'all' }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue