Merge branch 'main' into renovate/alpine_edge-py3-pip-20.x

This commit is contained in:
Samuel Philipp 2021-01-20 21:27:04 +00:00
commit c125358689
2 changed files with 124 additions and 3 deletions

121
.drone.yml Normal file
View file

@ -0,0 +1,121 @@
kind: pipeline
type: docker
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: docker
image: plugins/docker
settings:
purge: true
no_cache: true
auto_tag: true
auto_tag_suffix: linux-amd64
repo: spcodes/searx
dockerfile: searx/Dockerfile
username:
from_secret: USERNAME
password:
from_secret: PASSWORD
trigger:
branch:
- main
event:
- push
---
kind: pipeline
type: docker
name: linux-arm
platform:
os: linux
arch: arm
steps:
- name: docker
image: plugins/docker
settings:
purge: true
no_cache: true
auto_tag: true
auto_tag_suffix: linux-arm
repo: spcodes/searx
dockerfile: searx/Dockerfile
username:
from_secret: USERNAME
password:
from_secret: PASSWORD
trigger:
branch:
- main
event:
- push
---
kind: pipeline
type: docker
name: linux-arm64
platform:
os: linux
arch: arm64
steps:
- name: docker
image: plugins/docker
settings:
purge: true
no_cache: true
auto_tag: true
auto_tag_suffix: linux-arm64
repo: spcodes/searx
dockerfile: searx/Dockerfile
username:
from_secret: USERNAME
password:
from_secret: PASSWORD
trigger:
branch:
- main
event:
- push
---
kind: pipeline
type: docker
name: manifest
steps:
- name: publish
image: plugins/manifest
settings:
auto_tag: true
ignore_missing: true
target: spcodes/searx
template: spcodes/searx:OS-ARCH
platforms:
- linux/amd64
- linux/arm64
- linux/arm
username:
from_secret: USERNAME
password:
from_secret: PASSWORD
depends_on:
- linux-amd64
- linux-arm64
- linux-arm
trigger:
branch:
- main
event:
- push

View file

@ -20,7 +20,7 @@ RUN apk upgrade --no-cache \
# repology: alpine_edge/build-base # repology: alpine_edge/build-base
build-base="0.5-r2" \ build-base="0.5-r2" \
# repology: alpine_edge/py3-setuptools # repology: alpine_edge/py3-setuptools
py3-setuptools="47.0.0-r0" \ py3-setuptools="51.0.0-r0" \
# repology: alpine_edge/python3-dev # repology: alpine_edge/python3-dev
python3-dev="3.8.7-r0" \ python3-dev="3.8.7-r0" \
# repology: alpine_edge/libffi-dev # repology: alpine_edge/libffi-dev
@ -32,7 +32,7 @@ RUN apk upgrade --no-cache \
# repology: alpine_edge/openssl-dev # repology: alpine_edge/openssl-dev
openssl-dev="1.1.1i-r0" \ openssl-dev="1.1.1i-r0" \
# repology: alpine_edge/tar # repology: alpine_edge/tar
tar="1.32-r1" \ tar="1.33-r1" \
# repology: alpine_edge/git # repology: alpine_edge/git
git="2.26.2-r0" \ git="2.26.2-r0" \
# repology: alpine_edge/curl # repology: alpine_edge/curl
@ -57,7 +57,7 @@ RUN apk upgrade --no-cache \
# repology: alpine_edge/uwsgi # repology: alpine_edge/uwsgi
uwsgi="2.0.18-r8" \ uwsgi="2.0.18-r8" \
# repology: alpine_edge/uwsgi-python3 # repology: alpine_edge/uwsgi-python3
uwsgi-python3="2.0.18-r8" \ uwsgi-python3="2.0.19.1-r1" \
# repology: alpine_edge/brotli # repology: alpine_edge/brotli
brotli="1.0.9-r1" \ brotli="1.0.9-r1" \
&& curl -L "https://github.com/searx/searx/archive/${SEARX}.tar.gz" | tar xvz --strip 1 && chown -R searx:searx * \ && curl -L "https://github.com/searx/searx/archive/${SEARX}.tar.gz" | tar xvz --strip 1 && chown -R searx:searx * \