1
Fork 0
docker-build-automation/.drone.yml
2024-06-10 02:33:14 -04:00

92 lines
No EOL
3.1 KiB
YAML

kind: pipeline
type: exec
name: Build and Push (Docker)
platform:
os: linux
arch: arm64
steps:
- name: 4get
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd ./4get/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/4get:arm64 .
- docker push ark.sudovanilla.org/korbs/4get:arm64
- name: Cinny
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
- git clone https://github.com/cinnyapp/cinny && cd ./cinny/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/cinny:arm64 .
- docker push ark.sudovanilla.org/korbs/cinny:arm64
- name: Bun
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
- git clone https://github.com/oven-sh/bun && cd ./bun/dockerhub/debian-slim/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/bun:arm64 .
- docker push ark.sudovanilla.org/korbs/bun:arm64
- name: Hyperpipe
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
- git clone https://codeberg.org/Hyperpipe/Hyperpipe && cd ./Hyperpipe/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/hyperpipe:arm64 .
- docker push ark.sudovanilla.org/korbs/hyperpipe:arm64
- name: Bin
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
- git clone https://github.com/w4/bin && cd ./bin/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/bin:arm64 .
- docker push ark.sudovanilla.org/korbs/bin:arm64
- name: Whoogle
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
- git clone https://github.com/benbusby/whoogle-search && cd ./whoogle-search/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/whoogle:arm64 .
- docker push ark.sudovanilla.org/korbs/whoogle:arm64
- name: "Araa Search"
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
- git clone https://github.com/Extravi/araa-search && cd ./araa-search/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/araa-search:arm64 .
- docker push ark.sudovanilla.org/korbs/araa-search:arm64