[PPML] Add Occlum-production to github action (#5976)
This commit is contained in:
parent
97b925e584
commit
a74d08b52b
1 changed files with 36 additions and 0 deletions
36
.github/workflows/manually_build.yml
vendored
36
.github/workflows/manually_build.yml
vendored
|
|
@ -13,6 +13,7 @@ on:
|
||||||
- bigdl-ppml-trusted-big-data-ml-python-gramine
|
- bigdl-ppml-trusted-big-data-ml-python-gramine
|
||||||
- bigdl-ppml-trusted-big-data-ml-python-graphene
|
- bigdl-ppml-trusted-big-data-ml-python-graphene
|
||||||
- bigdl-ppml-trusted-big-data-ml-scala-occlum
|
- bigdl-ppml-trusted-big-data-ml-scala-occlum
|
||||||
|
- bigdl-ppml-trusted-big-data-ml-scala-occlum-production
|
||||||
- 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-kmsutil
|
- bigdl-ppml-kmsutil
|
||||||
|
|
@ -137,6 +138,41 @@ jobs:
|
||||||
docker push 10.239.45.10/arda/${image}:${TAG}
|
docker push 10.239.45.10/arda/${image}:${TAG}
|
||||||
docker rmi -f ${image}:${TAG}
|
docker rmi -f ${image}:${TAG}
|
||||||
|
|
||||||
|
bigdl-ppml-trusted-big-data-ml-scala-occlum-production:
|
||||||
|
if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-big-data-ml-scala-occlum-production' || github.event.inputs.artifact == 'all' }}
|
||||||
|
runs-on: [ self-hosted, Shire ]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: docker login
|
||||||
|
run: |
|
||||||
|
docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}
|
||||||
|
- name: bigdl-ppml-trusted-big-data-ml-scala-occlum-production
|
||||||
|
run: |
|
||||||
|
echo "########################################"
|
||||||
|
echo "####### big-data-ml-scala-occlum-production ######"
|
||||||
|
echo "########################################"
|
||||||
|
cd ppml/trusted-big-data-ml/scala/docker-occlum/production
|
||||||
|
export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-scala-occlum-production
|
||||||
|
pwd
|
||||||
|
docker build \
|
||||||
|
--no-cache=true \
|
||||||
|
--build-arg http_proxy=${HTTP_PROXY} \
|
||||||
|
--build-arg https_proxy=${HTTPS_PROXY} \
|
||||||
|
--build-arg HTTP_PROXY_HOST=${HTTP_PROXY_HOST_2} \
|
||||||
|
--build-arg HTTP_PROXY_PORT=${HTTP_PROXY_PORT_2} \
|
||||||
|
--build-arg HTTPS_PROXY_HOST=${HTTP_PROXY_HOST_2} \
|
||||||
|
--build-arg HTTPS_PROXY_PORT=${HTTP_PROXY_PORT_3} \
|
||||||
|
--build-arg JDK_VERSION=8u192 \
|
||||||
|
--build-arg JDK_URL=${JDK_URL} \
|
||||||
|
--build-arg no_proxy=${NO_PROXY} \
|
||||||
|
--build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \
|
||||||
|
-t ${image}:${TAG} -f ./Dockerfile .
|
||||||
|
sudo docker push ${image}:${TAG}
|
||||||
|
docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
|
||||||
|
docker push 10.239.45.10/arda/${image}:${TAG}
|
||||||
|
docker rmi -f ${image}:${TAG}
|
||||||
|
|
||||||
|
|
||||||
bigdl-ppml-trusted-realtime-ml-scala-graphene:
|
bigdl-ppml-trusted-realtime-ml-scala-graphene:
|
||||||
if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-realtime-ml-scala-graphene' || github.event.inputs.artifact == 'all' }}
|
if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-realtime-ml-scala-graphene' || github.event.inputs.artifact == 'all' }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue