File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 2222      uses : actions/checkout@v2 
2323    - name : Build Docker Image 
2424      run : docker build --no-cache --build-arg app_version=1.0.$GITHUB_RUN_NUMBER --build-arg source_version=$GITHUB_SHA -t pia/azure-aisearch-webapp:latest -f ./src/Azure.AISearch.WebApp/Dockerfile ./src/Azure.AISearch.WebApp 
25+ 
26+     - name : Log in to registry 
27+       uses : docker/login-action@v2 
28+       with :
29+         registry : https://index.docker.io/v1/ 
30+         username : ${{ secrets.DOCKER_USERNAME }} 
31+         password : ${{ secrets.DOCKER_TOKEN }} 
32+ 
2533    - name : Push Docker Image to GitHub 
2634      run : | 
27-         echo "${{ secrets.DOCKER_TOKEN }}" | docker login ghcr.io -u ${{ secrets.DOCKER_USERNAME }} --password-stdin 
35+         # echo "${{ secrets.DOCKER_TOKEN }}" | docker login ghcr.io -u ${{ secrets.DOCKER_USERNAME }} --password-stdin 
2836        docker tag pia/azure-aisearch-webapp:latest ghcr.io/pia/azure-aisearch-webapp:latest 
2937        docker push ghcr.io/pia/azure-aisearch-webapp:latest 
3038
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments