SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] CI: handle old cache images from registry
Ivan Gabaldonb42f812c57b5
diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.ymlnew file mode 100644index 000000000..d429e0ce3--- /dev/null+++ b/.github/workflows/cleanup.yml@@ -0,0 +1,34 @@+---+name: Cleanup++# yamllint disable-line rule:truthy+on:+ workflow_dispatch:+ schedule:+ - cron: "4 4 * * 0"++concurrency:+ group: ${{ github.workflow }}+ cancel-in-progress: false++permissions:+ contents: read++jobs:+ container-cache:+ name: Container cache+ runs-on: ubuntu-24.04+ permissions:+ # Organization GHCR+ packages: write++ steps:+ - name: Prune+ uses: snok/[email protected]+ with:+ account: "${{ github.repository_owner }}"+ token: "${{ secrets.GITHUB_TOKEN }}"+ image-names: "cache"+ image-tags: "!searxng-*"+ cut-off: "1w"+ keep-n-most-recent: "100"diff --git a/utils/lib_sxng_container.sh b/utils/lib_sxng_container.shindex f87b64e2b..49ef1ef05 100644--- a/utils/lib_sxng_container.sh+++ b/utils/lib_sxng_container.sh@@ -102,7 +102,6 @@ container.build() {if [ "$GITHUB_ACTIONS" = "true" ]; thenparams_build_builder+=" --cache-from=ghcr.io/$CONTAINER_IMAGE_ORGANIZATION/cache --cache-to=ghcr.io/$CONTAINER_IMAGE_ORGANIZATION/cache"- params_build+=" --cache-from=ghcr.io/$CONTAINER_IMAGE_ORGANIZATION/cache --cache-to=ghcr.io/$CONTAINER_IMAGE_ORGANIZATION/cache"# Tagsparams_build+=" --tag=ghcr.io/$CONTAINER_IMAGE_ORGANIZATION/cache:$CONTAINER_IMAGE_NAME-$arch$variant"