push base image as well
This commit is contained in:
		
							parent
							
								
									0e94e70b85
								
							
						
					
					
						commit
						fc3fb94e23
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		
							
								
								
									
										9
									
								
								.github/workflows/manually_build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/manually_build.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -63,6 +63,10 @@ jobs:
 | 
			
		|||
          --build-arg no_proxy=${NO_PROXY} \
 | 
			
		||||
          --build-arg SPARK_JAR_REPO_URL=${SPARK_JAR_REPO_URL} \
 | 
			
		||||
          -t ${base_image}:${TAG} -f ./Dockerfile .
 | 
			
		||||
        sudo docker push ${base_image}:${TAG}
 | 
			
		||||
        sudo docker tag ${base_image}:${TAG} 10.239.45.10/arda/${base_image}:${TAG}
 | 
			
		||||
        sudo docker push 10.239.45.10/arda/${base_image}:${TAG}
 | 
			
		||||
        sudo docker rmi -f ${image}:${TAG}
 | 
			
		||||
        cd ../bigdl-gramine
 | 
			
		||||
        openssl genrsa -3 -out enclave-key.pem 3072
 | 
			
		||||
        sudo docker build \
 | 
			
		||||
| 
						 | 
				
			
			@ -71,10 +75,7 @@ jobs:
 | 
			
		|||
         --build-arg SGX_MEM_SIZE=32G \
 | 
			
		||||
         --build-arg SGX_LOG_LEVEL=error \
 | 
			
		||||
         -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}
 | 
			
		||||
        
 | 
			
		||||
        rm enclave-key.pem
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue