0
0

Updated SearXNG

This commit is contained in:
Opnxng 2023-11-12 00:48:22 +08:00
parent 3f47cdd431
commit 2843c7bc88

View File

@ -48,7 +48,6 @@ jobs:
cd temp
git clone ${REMOTE_REPO} .
git checkout base # Use base branch to build the base image
git checkout bf32cc1557b5b2d6a4a3df943be6c322d849412c # Pinned to last working version
docker-buildx build \
--platform ${BUILD_PLATFORM} \
-t git.opnxng.com/${{ gitea.repository_owner }}/searxng:base \
@ -112,7 +111,6 @@ jobs:
mkdir temp
cd temp
git clone ${REMOTE_REPO} .
git checkout bc100f7577536aa5a04a735bb49264a31e3fcb82 # Pinned to last working version
UPSTREAM_COMMIT=$(git ls-remote ${SEARXNG_REPO} | awk '{print $1}' | head -1)
sed -i "s/UPSTREAM_COMMIT=.*/UPSTREAM_COMMIT=$UPSTREAM_COMMIT/" Dockerfile
sed -i 's/FROM registry.paulgo.dev\/infra\/paulgoio\/searxng:base/FROM git.opnxng.com\/opnxng\/searxng:base/' Dockerfile # use git.opnxng.com/opnxng/searxng:base