File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ name: Delete Old Docker Image
22
33on :
44  workflow_dispatch :  
5- 
5+   push :
6+     branches :
7+       - main 
68jobs :
79
810  cleanup-pg :
1416        with :
1517          token : ${{ secrets.GITHUB_TOKEN }}  
1618          owner : ${{ github.repository_owner }} 
17-           repository : multi-repo/Postgres  
19+           repository : multi-repo/postgres  
1820          keep-n-tagged : 1 
19-           package : multi-repo/Postgres /pg 
21+           package : multi-repo/postgres /pg 
2022          dry-run : false 
Original file line number Diff line number Diff line change 11name : Build Docker Images 
22
33on :
4-   push :
5-     branches :
6-       - main 
74  release :
85    types : [created, published, released] 
96
107
8+ 
119jobs :
1210
1311  ghcr-build-pg :
6260            curl -X POST \ 
6361              -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ 
6462              -H "Accept: application/vnd.github.v3+json" \ 
65-               https://api.github.com/repos/${{ github.repository }}/actions/workflows/delete-old-image.yml/dispatches  \ 
63+               https://api.github.com/repos/${{ github.repository }}/actions/workflows/delete-old-image.yml \ 
6664              -d '{"ref": "main"}' 
6765
6866
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments