[PPML] Add bigdl-llm-demo dependencies to TDX image (#8551)
* add bigdl-llm-demo dependencies to tdx image * use only one RUN command * Add bigdl-ppml * done
This commit is contained in:
parent
4582b6939d
commit
3e0e370898
1 changed files with 29 additions and 0 deletions
29
.github/workflows/manually_build_for_testing.yml
vendored
29
.github/workflows/manually_build_for_testing.yml
vendored
|
|
@ -29,6 +29,7 @@ on:
|
||||||
- bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer
|
- bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer
|
||||||
- bigdl-ppml-trusted-realtime-ml-scala-graphene
|
- bigdl-ppml-trusted-realtime-ml-scala-graphene
|
||||||
- bigdl-ppml-trusted-realtime-ml-scala-occlum
|
- bigdl-ppml-trusted-realtime-ml-scala-occlum
|
||||||
|
- bigdl-ppml-trusted-bigdl-llm-tdx
|
||||||
- bigdl-ppml-kmsutil
|
- bigdl-ppml-kmsutil
|
||||||
- bigdl-ppml-pccs
|
- bigdl-ppml-pccs
|
||||||
- bigdl-ppml-trusted-python-toolkit-base
|
- bigdl-ppml-trusted-python-toolkit-base
|
||||||
|
|
@ -79,6 +80,34 @@ jobs:
|
||||||
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 ${base_image}:${TAG} 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' }}
|
||||||
|
runs-on: [self-hosted, Shire]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.inputs.sha }}
|
||||||
|
- name: docker login
|
||||||
|
run: |
|
||||||
|
docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}
|
||||||
|
- name: bigdl-ppml-trusted-bigdl-llm-tdx
|
||||||
|
run: |
|
||||||
|
echo "##############################################################"
|
||||||
|
echo "####### bigdl-ppml-trusted-bigdl-llm-tdx ###########"
|
||||||
|
echo "##############################################################"
|
||||||
|
export image=intelanalytics/bigdl-ppml-trusted-bigdl-llm-tdx
|
||||||
|
cd ppml/tdx/docker/trusted-bigdl-llm/
|
||||||
|
sudo docker build \
|
||||||
|
--no-cache=true \
|
||||||
|
--build-arg http_proxy=${HTTP_PROXY} \
|
||||||
|
--build-arg https_proxy=${HTTPS_PROXY} \
|
||||||
|
--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}
|
||||||
|
|
||||||
bigdl-ppml-trusted-bigdl-llm-gramine-base:
|
bigdl-ppml-trusted-bigdl-llm-gramine-base:
|
||||||
if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-bigdl-llm-gramine-base' || github.event.inputs.artifact == 'all' }}
|
if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-bigdl-llm-gramine-base' || github.event.inputs.artifact == 'all' }}
|
||||||
runs-on: [self-hosted, Shire]
|
runs-on: [self-hosted, Shire]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue