mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Fixes the image cleaner not running for the registry cache (#4732)
This commit is contained in:
		
							parent
							
								
									69be86e16c
								
							
						
					
					
						commit
						27155cb7e3
					
				
							
								
								
									
										21
									
								
								.github/workflows/cleanup-tags.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/cleanup-tags.yml
									
									
									
									
										vendored
									
									
								
							@ -19,9 +19,13 @@ concurrency:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  cleanup-images:
 | 
					  cleanup-images:
 | 
				
			||||||
    name: Cleanup Image Tags for paperless-ngx
 | 
					    name: Cleanup Image Tags for ${{ matrix.primary-name }}
 | 
				
			||||||
    if: github.repository_owner == 'paperless-ngx'
 | 
					    if: github.repository_owner == 'paperless-ngx'
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-22.04
 | 
				
			||||||
 | 
					    strategy:
 | 
				
			||||||
 | 
					      fail-fast: false
 | 
				
			||||||
 | 
					      matrix:
 | 
				
			||||||
 | 
					        primary-name: ["paperless-ngx", "paperless-ngx/builder/cache/app"]
 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      # Requires a personal access token with the OAuth scope delete:packages
 | 
					      # Requires a personal access token with the OAuth scope delete:packages
 | 
				
			||||||
      TOKEN: ${{ secrets.GHA_CONTAINER_DELETE_TOKEN }}
 | 
					      TOKEN: ${{ secrets.GHA_CONTAINER_DELETE_TOKEN }}
 | 
				
			||||||
@ -34,7 +38,7 @@ jobs:
 | 
				
			|||||||
          token: "${{ env.TOKEN }}"
 | 
					          token: "${{ env.TOKEN }}"
 | 
				
			||||||
          owner: "${{ github.repository_owner }}"
 | 
					          owner: "${{ github.repository_owner }}"
 | 
				
			||||||
          is_org: "true"
 | 
					          is_org: "true"
 | 
				
			||||||
          package_name: "paperless-ngx"
 | 
					          package_name: "${{ matrix.primary-name }}"
 | 
				
			||||||
          scheme: "branch"
 | 
					          scheme: "branch"
 | 
				
			||||||
          repo_name: "paperless-ngx"
 | 
					          repo_name: "paperless-ngx"
 | 
				
			||||||
          match_regex: "feature-"
 | 
					          match_regex: "feature-"
 | 
				
			||||||
@ -49,18 +53,7 @@ jobs:
 | 
				
			|||||||
    strategy:
 | 
					    strategy:
 | 
				
			||||||
      fail-fast: false
 | 
					      fail-fast: false
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        include:
 | 
					        primary-name: ["paperless-ngx", "paperless-ngx/builder/cache/app"]
 | 
				
			||||||
          - primary-name: "paperless-ngx"
 | 
					 | 
				
			||||||
          - primary-name: "paperless-ngx/builder/cache/app"
 | 
					 | 
				
			||||||
          # TODO: Remove the above and replace with the below
 | 
					 | 
				
			||||||
          # - primary-name: "builder/qpdf"
 | 
					 | 
				
			||||||
          # - primary-name: "builder/cache/qpdf"
 | 
					 | 
				
			||||||
          # - primary-name: "builder/pikepdf"
 | 
					 | 
				
			||||||
          # - primary-name: "builder/cache/pikepdf"
 | 
					 | 
				
			||||||
          # - primary-name: "builder/jbig2enc"
 | 
					 | 
				
			||||||
          # - primary-name: "builder/cache/jbig2enc"
 | 
					 | 
				
			||||||
          # - primary-name: "builder/psycopg2"
 | 
					 | 
				
			||||||
          # - primary-name: "builder/cache/psycopg2"
 | 
					 | 
				
			||||||
    env:
 | 
					    env:
 | 
				
			||||||
      # Requires a personal access token with the OAuth scope delete:packages
 | 
					      # Requires a personal access token with the OAuth scope delete:packages
 | 
				
			||||||
      TOKEN: ${{ secrets.GHA_CONTAINER_DELETE_TOKEN }}
 | 
					      TOKEN: ${{ secrets.GHA_CONTAINER_DELETE_TOKEN }}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user