updated .drone.yml
This commit is contained in:
parent
5d02a0f0fb
commit
15fbc7787b
2 changed files with 11 additions and 3 deletions
|
@ -16,6 +16,8 @@ steps:
|
||||||
auto_tag_suffix: linux-amd64
|
auto_tag_suffix: linux-amd64
|
||||||
repo: spcodes/searx
|
repo: spcodes/searx
|
||||||
dockerfile: searx/Dockerfile
|
dockerfile: searx/Dockerfile
|
||||||
|
build_args:
|
||||||
|
- ARCH=amd64
|
||||||
username:
|
username:
|
||||||
from_secret: USERNAME
|
from_secret: USERNAME
|
||||||
password:
|
password:
|
||||||
|
@ -46,6 +48,8 @@ steps:
|
||||||
auto_tag_suffix: linux-arm
|
auto_tag_suffix: linux-arm
|
||||||
repo: spcodes/searx
|
repo: spcodes/searx
|
||||||
dockerfile: searx/Dockerfile
|
dockerfile: searx/Dockerfile
|
||||||
|
build_args:
|
||||||
|
- ARCH=arm
|
||||||
username:
|
username:
|
||||||
from_secret: USERNAME
|
from_secret: USERNAME
|
||||||
password:
|
password:
|
||||||
|
@ -76,6 +80,8 @@ steps:
|
||||||
auto_tag_suffix: linux-arm64
|
auto_tag_suffix: linux-arm64
|
||||||
repo: spcodes/searx
|
repo: spcodes/searx
|
||||||
dockerfile: searx/Dockerfile
|
dockerfile: searx/Dockerfile
|
||||||
|
build_args:
|
||||||
|
- ARCH=arm64
|
||||||
username:
|
username:
|
||||||
from_secret: USERNAME
|
from_secret: USERNAME
|
||||||
password:
|
password:
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
FROM --platform=linux/amd64 alpine:3.12.3@sha256:074d3636ebda6dd446d0d00304c4454f468237fdacf08fb0eeac90bdbfa1bac7
|
ARG ARCH
|
||||||
FROM --platform=linux/arm alpine:3.13.0@sha256:0a03d8bed32e780dc43c688eb1d184fc21dbc9ec9acbd66a2b5db6544c04825f
|
FROM amd64/alpine:3.13.0@sha256:d0710affa17fad5f466a70159cc458227bd25d4afb39514ef662ead3e6c99515 AS base-amd64
|
||||||
FROM --platform=linux/arm64 alpine:3.13.0@sha256:b20140108af597a58a06ed5578f2a5737b8ad9964a206b5627d2cda906613665
|
FROM arm32v7/alpine:3.13.0@sha256:0a03d8bed32e780dc43c688eb1d184fc21dbc9ec9acbd66a2b5db6544c04825f AS base-arm
|
||||||
|
FROM arm64v8/alpine:3.13.0@sha256:b20140108af597a58a06ed5578f2a5737b8ad9964a206b5627d2cda906613665 AS base-arm64
|
||||||
|
FROM base-${ARCH}
|
||||||
|
|
||||||
# github: searx/searx
|
# github: searx/searx
|
||||||
ENV SEARX="v0.17.0"
|
ENV SEARX="v0.17.0"
|
||||||
|
|
Reference in a new issue