File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -31,24 +31,15 @@ jobs:
3131          username : ${{ secrets.DOCKER_USERNAME }} 
3232          password : ${{ secrets.DOCKER_PASSWORD }} 
3333
34-       - name : Build and push AMD  
34+       - name : Build and push 
3535        uses : docker/build-push-action@v4 
3636        with :
3737          context : . 
38-           platforms : ' linux/amd64' 
38+           platforms : ${{ github.event.inputs.repo_type == 'official' && ' linux/amd64,linux/arm64' || 'linux/amd64' }} 
3939          push : true 
4040          tags : ${{ github.event.inputs.repo_type == 'official' && 'nethermind/juno' || 'nethermindeth/juno' }}:${{ github.event.inputs.tag }} 
4141
42-       - name : Build and push ARM 
43-         if : github.event.inputs.repo_type == 'official' 
44-         uses : docker/build-push-action@v4 
45-         with :
46-           context : . 
47-           platforms : ' linux/arm64' 
48-           push : true 
49-           tags : nethermind/juno:${{ github.event.inputs.tag }} 
50-           
5142      - name : Clean up environment 
5243        if : always() 
5344        run : | 
54-           rm -f ${HOME}/.docker/config.json 
45+           rm -f ${HOME}/.docker/config.json 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments