fix occlum-customer
This commit is contained in:
		
							parent
							
								
									1e5d51f2be
								
							
						
					
					
						commit
						2d7ea756af
					
				
					 1 changed files with 36 additions and 36 deletions
				
			
		
							
								
								
									
										72
									
								
								.github/workflows/manually_build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										72
									
								
								.github/workflows/manually_build.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -522,43 +522,43 @@ jobs:
 | 
				
			||||||
          docker push 10.239.45.10/arda/${final_name}
 | 
					          docker push 10.239.45.10/arda/${final_name}
 | 
				
			||||||
          docker rmi -f ${final_name}
 | 
					          docker rmi -f ${final_name}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer:
 | 
					  bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer:
 | 
				
			||||||
  if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer' || github.event.inputs.artifact == 'all' }}
 | 
					    if: ${{ github.event.inputs.artifact == 'bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer' || github.event.inputs.artifact == 'all' }}
 | 
				
			||||||
  runs-on: [ self-hosted, Shire ]
 | 
					    runs-on: [ self-hosted, Shire ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v3
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
    - name: docker login
 | 
					      - name: docker login
 | 
				
			||||||
      run: |
 | 
					        run: |
 | 
				
			||||||
        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}
 | 
					          docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}
 | 
				
			||||||
    - name: bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer
 | 
					      - name: bigdl-ppml-trusted-big-data-ml-scala-occlum-production-customer
 | 
				
			||||||
      run: |
 | 
					        run: |
 | 
				
			||||||
        echo "########################################"
 | 
					          echo "########################################"
 | 
				
			||||||
        echo "####### big-data-ml-scala-occlum-production-customer  ######"
 | 
					          echo "####### big-data-ml-scala-occlum-production-customer  ######"
 | 
				
			||||||
        echo "########################################"
 | 
					          echo "########################################"
 | 
				
			||||||
        cd ppml/trusted-big-data-ml/scala/docker-occlum
 | 
					          cd ppml/trusted-big-data-ml/scala/docker-occlum
 | 
				
			||||||
        export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-scala-occlum-production
 | 
					          export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-scala-occlum-production
 | 
				
			||||||
        export image_customer=${image}-customer
 | 
					          export image_customer=${image}-customer
 | 
				
			||||||
        pwd
 | 
					          pwd
 | 
				
			||||||
        docker build \
 | 
					          docker build \
 | 
				
			||||||
          --no-cache=true \
 | 
					            --no-cache=true \
 | 
				
			||||||
          --build-arg http_proxy=${HTTP_PROXY} \
 | 
					            --build-arg http_proxy=${HTTP_PROXY} \
 | 
				
			||||||
          --build-arg https_proxy=${HTTPS_PROXY} \
 | 
					            --build-arg https_proxy=${HTTPS_PROXY} \
 | 
				
			||||||
          --build-arg HTTP_PROXY_HOST=${HTTP_PROXY_HOST_2} \
 | 
					            --build-arg HTTP_PROXY_HOST=${HTTP_PROXY_HOST_2} \
 | 
				
			||||||
          --build-arg HTTP_PROXY_PORT=${HTTP_PROXY_PORT_2} \
 | 
					            --build-arg HTTP_PROXY_PORT=${HTTP_PROXY_PORT_2} \
 | 
				
			||||||
          --build-arg HTTPS_PROXY_HOST=${HTTP_PROXY_HOST_2} \
 | 
					            --build-arg HTTPS_PROXY_HOST=${HTTP_PROXY_HOST_2} \
 | 
				
			||||||
          --build-arg HTTPS_PROXY_PORT=${HTTP_PROXY_PORT_3} \
 | 
					            --build-arg HTTPS_PROXY_PORT=${HTTP_PROXY_PORT_3} \
 | 
				
			||||||
          --build-arg JDK_VERSION=8u192 \
 | 
					            --build-arg JDK_VERSION=8u192 \
 | 
				
			||||||
          --build-arg JDK_URL=${JDK_URL} \
 | 
					            --build-arg JDK_URL=${JDK_URL} \
 | 
				
			||||||
          --build-arg no_proxy=${NO_PROXY} \
 | 
					            --build-arg no_proxy=${NO_PROXY} \
 | 
				
			||||||
          --build-arg FINAL_NAME=${image}:${TAG} \
 | 
					            --build-arg FINAL_NAME=${image}:${TAG} \
 | 
				
			||||||
          --build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \
 | 
					            --build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \
 | 
				
			||||||
          -t ${image_customer}:${TAG} -f ./production/customer/Dockerfile .
 | 
					            -t ${image_customer}:${TAG} -f ./production/customer/Dockerfile .
 | 
				
			||||||
        pwd
 | 
					          pwd
 | 
				
			||||||
        sudo docker push ${image_customer}:${TAG}
 | 
					          sudo docker push ${image_customer}:${TAG}
 | 
				
			||||||
        docker tag ${image_customer}:${TAG} 10.239.45.10/arda/${image_customer}:${TAG}
 | 
					          docker tag ${image_customer}:${TAG} 10.239.45.10/arda/${image_customer}:${TAG}
 | 
				
			||||||
        docker push 10.239.45.10/arda/${image_customer}:${TAG}
 | 
					          docker push 10.239.45.10/arda/${image_customer}:${TAG}
 | 
				
			||||||
        docker rmi -f ${image_customer}:${TAG}
 | 
					          docker rmi -f ${image_customer}:${TAG}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bigdl-ppml-trusted-realtime-ml-scala-graphene:
 | 
					  bigdl-ppml-trusted-realtime-ml-scala-graphene:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue