2024-06-10 17:44:54 -05:00
|
|
|
kind: pipeline # https://docs.drone.io/pipeline/overview/
|
|
|
|
type: exec # https://docs.drone.io/pipeline/exec/overview/
|
|
|
|
name: Build and Push
|
2024-06-07 15:14:32 -05:00
|
|
|
|
2024-06-10 17:44:54 -05:00
|
|
|
# Do not clone the Docker Build Automation, it is not needed.
|
|
|
|
# https://docs.drone.io/pipeline/exec/syntax/cloning/#custom-logic
|
|
|
|
clone:
|
|
|
|
disable: true
|
|
|
|
|
2024-06-10 17:53:22 -05:00
|
|
|
# Set Platform
|
|
|
|
# https://docs.drone.io/pipeline/exec/syntax/platform/
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
2024-06-10 17:44:54 -05:00
|
|
|
# Set global environment variables.
|
|
|
|
# https://docs.drone.io/pipeline/environment/syntax/#per-pipeline
|
|
|
|
environment:
|
|
|
|
ARK_USERNAME:
|
|
|
|
from_secret: ARK_USERNAME
|
|
|
|
ARK_PASSWORD:
|
|
|
|
from_secret: ARK_PASSWORD
|
|
|
|
CODEBERG_USERNAME:
|
|
|
|
from_secret: CODEBERG_USERNAME
|
|
|
|
CODEBERG_PASSWORD:
|
|
|
|
from_secret: CODEBERG_PASSWORD
|
2024-06-10 02:04:42 -05:00
|
|
|
- name: 4get
|
2024-06-10 17:44:54 -05:00
|
|
|
failure: ignore # If step fails, ignore and move onto next step.
|
2024-06-10 02:04:42 -05:00
|
|
|
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
|
2024-06-10 17:44:54 -05:00
|
|
|
failure: ignore # If step fails, ignore and move onto next step.
|
2024-06-10 02:04:42 -05:00
|
|
|
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
|
2024-06-10 17:44:54 -05:00
|
|
|
failure: ignore # If step fails, ignore and move onto next step.
|
2024-06-10 02:04:42 -05:00
|
|
|
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
|
2024-06-10 17:44:54 -05:00
|
|
|
failure: ignore # If step fails, ignore and move onto next step.
|
2024-06-10 02:04:42 -05:00
|
|
|
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
|
2024-06-10 17:44:54 -05:00
|
|
|
failure: ignore # If step fails, ignore and move onto next step.
|
2024-06-10 02:04:42 -05:00
|
|
|
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
|
2024-06-10 17:44:54 -05:00
|
|
|
failure: ignore # If step fails, ignore and move onto next step.
|
2024-06-10 02:04:42 -05:00
|
|
|
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"
|
2024-06-10 17:44:54 -05:00
|
|
|
failure: ignore # If step fails, ignore and move onto next step.
|
2024-06-10 02:04:42 -05:00
|
|
|
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
|
2024-06-10 02:09:13 -05:00
|
|
|
- cp alpine-based.dockerfile Dockerfile # yeah no
|
2024-06-10 02:04:42 -05:00
|
|
|
- docker build -t ark.sudovanilla.org/korbs/araa-search:arm64 .
|
|
|
|
- docker push ark.sudovanilla.org/korbs/araa-search:arm64
|
|
|
|
|
2024-06-10 01:44:04 -05:00
|
|
|
- name: Poke
|
2024-06-10 17:44:54 -05:00
|
|
|
failure: ignore # If step fails, ignore and move onto next step.
|
2024-06-07 15:14:32 -05:00
|
|
|
commands:
|
2024-06-10 01:44:04 -05:00
|
|
|
- git clone https://codeberg.org/ashley/poke && cd ./poke/
|
2024-06-07 15:14:32 -05:00
|
|
|
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
2024-06-10 01:57:03 -05:00
|
|
|
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
|
2024-06-10 01:44:04 -05:00
|
|
|
- docker build -t codeberg.org/korbs/poke:arm64 .
|
|
|
|
- docker build -t ark.sudovanilla.org/korbs/poke:arm64 .
|
|
|
|
- docker push codeberg.org/korbs/poke:arm64
|
2024-06-10 17:44:54 -05:00
|
|
|
- docker push codeberg.org/korbs/poke:arm64
|
|
|
|
|
|
|
|
# If a commit is pushed, run the pipeline.
|
2024-06-10 17:52:03 -05:00
|
|
|
# trigger:
|
|
|
|
# event:
|
|
|
|
# include:
|
|
|
|
# - push
|
|
|
|
# exclude:
|
|
|
|
# - pull_request
|