File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,12 @@ jobs:
2727
2828    - run : npm install 
2929    - run : npm run build 
30-     - uses : actions/upload-artifact@v2 
30+     
31+     - uses : actions/upload-artifact@v4 
3132      with :
3233        name : agileconfig-ui 
3334        path : src/AgileConfig.Server.UI/react-ui-antd/dist/ 
35+         
3436  build-dotnet-push-to-hub :
3537    needs : build-reactapp 
3638    runs-on : ubuntu-latest 
@@ -41,27 +43,32 @@ jobs:
4143      uses : actions/setup-dotnet@v1 
4244      with :
4345        dotnet-version : 8.0.* 
46+         
4447    - name : Install dependencies 
4548      run : dotnet restore 
4649    - name : Build 
4750      run : dotnet build --configuration Release --no-restore 
48-     - uses : actions/download-artifact@v2 
51+       
52+     - uses : actions/download-artifact@v4 
4953      with :
5054        name : agileconfig-ui 
5155        path : src/AgileConfig.Server.Apisite/wwwroot/ui 
56+         
5257    - name : Push to Docker Hub 
5358      uses : docker/build-push-action@v1 
5459      with :
5560        username : ${{ secrets.DOCKER_HUB_NAME }} 
5661        password : ${{ secrets.DOCKER_HUB_PASSWORD }} 
5762        repository : kklldog/agile_config 
5863        tags : test 
64+         
5965    - name : Login to ACR and push 
6066      uses : aliyun/acr-login@v1 
6167      with :
6268        login-server : https://registry.cn-shanghai.aliyuncs.com 
6369        username : " ${{ secrets.ALI_REGISTRY_USERNAME }}" 
6470        password : " ${{ secrets.ALI_REGISTRY_PASSWORD }}" 
71+         
6572    - name : Build and push image 
6673      env :
6774        IMAGE_TAG : test 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments