Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fixes the image cleaner not running for the registry cache (#4732)

Trenton H27155cb7e323
diff --git a/.github/workflows/cleanup-tags.yml b/.github/workflows/cleanup-tags.yml
index 63eb5bf2c..e73ec62f3 100644
--- a/.github/workflows/cleanup-tags.yml
+++ b/.github/workflows/cleanup-tags.yml
@@ -19,9 +19,13 @@ concurrency:
jobs:
cleanup-images:
- name: Cleanup Image Tags for paperless-ngx
+ name: Cleanup Image Tags for ${{ matrix.primary-name }}
if: github.repository_owner == 'paperless-ngx'
runs-on: ubuntu-22.04
+ strategy:
+ fail-fast: false
+ matrix:
+ primary-name: ["paperless-ngx", "paperless-ngx/builder/cache/app"]
env:
# Requires a personal access token with the OAuth scope delete:packages
TOKEN: ${{ secrets.GHA_CONTAINER_DELETE_TOKEN }}
@@ -34,7 +38,7 @@ jobs:
token: "${{ env.TOKEN }}"
owner: "${{ github.repository_owner }}"
is_org: "true"
- package_name: "paperless-ngx"
+ package_name: "${{ matrix.primary-name }}"
scheme: "branch"
repo_name: "paperless-ngx"
match_regex: "feature-"
@@ -49,18 +53,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- include:
- - 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"
+ primary-name: ["paperless-ngx", "paperless-ngx/builder/cache/app"]
env:
# Requires a personal access token with the OAuth scope delete:packages
TOKEN: ${{ secrets.GHA_CONTAINER_DELETE_TOKEN }}