summaryrefslogtreecommitdiff
path: root/.github/workflows/cleanup.yml
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-09-29 15:15:54 +0200
committerGitHub <noreply@github.com>2025-09-29 15:15:54 +0200
commitebc61debf91297321cec07eae817edd15d8de3fb (patch)
tree535aa30c46541f81616ad7616089722d2010f1e3 /.github/workflows/cleanup.yml
parent77fd3ee534a8015d504a0cbf55a6b06824a41a1a (diff)
[fix] ci: missing container (#5263)
This workflow is no longer needed.
Diffstat (limited to '.github/workflows/cleanup.yml')
-rw-r--r--.github/workflows/cleanup.yml37
1 files changed, 0 insertions, 37 deletions
diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml
deleted file mode 100644
index c344637ac..000000000
--- a/.github/workflows/cleanup.yml
+++ /dev/null
@@ -1,37 +0,0 @@
----
-name: Cleanup
-
-# yamllint disable-line rule:truthy
-on:
- workflow_dispatch:
- schedule:
- - cron: "4 4 * * *"
-
-concurrency:
- group: ${{ github.workflow }}
- cancel-in-progress: false
-
-permissions:
- contents: read
-
-jobs:
- registry:
- # FIXME: On forks it fails with "Failed to fetch packages: missing field `id` at line 1 column 141"
- if: github.repository_owner == 'searxng' || github.event_name == 'workflow_dispatch'
- name: Registry
- runs-on: ubuntu-24.04
- permissions:
- # Organization GHCR
- packages: write
-
- steps:
- - name: Prune
- uses: snok/container-retention-policy@3b0972b2276b171b212f8c4efbca59ebba26eceb # v3.0.1
- with:
- account: "${{ github.repository_owner }}"
- token: "${{ secrets.GITHUB_TOKEN }}"
- # Remove only cache images https://github.com/snok/container-retention-policy/issues/97
- image-names: "cache"
- image-tags: "!searxng*"
- cut-off: "1d"
- keep-n-most-recent: "30"