1
Fork 0
docker-build-automation/.drone.yml
Korbs 3ba8ae693f
Some checks reported errors
continuous-integration/drone Build was killed
Don't remove image on ARM
2024-06-19 18:54:48 -04:00

547 lines
No EOL
19 KiB
YAML

---
#############
### ARM64 ###
#############
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Images for ARM64
# Do not clone the Docker Build Automation, it is not needed.
# https://docs.drone.io/pipeline/exec/syntax/cloning/#custom-logic
clone:
disable: true
# Set Platform
# https://docs.drone.io/pipeline/exec/syntax/platform/
platform:
os: linux
arch: arm64
steps:
- name: "Debian Slim"
failure: ignore
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
commands:
- git clone https://github.com/linuxcontainers/debian-slim && cd ./debian-slim/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/debian-slim:arm64 .
- docker build -t codeberg.org/korbs/debian-slim:arm64 .
- docker push ark.sudovanilla.org/korbs/debian-slim:arm64
- docker push codeberg.org/korbs/debian-slim:arm64
- name: "Aptabase"
failure: ignore
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
commands:
- git clone https://github.com/aptabase/aptabase && cd ./aptabase/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/aptabase:arm64 .
- docker build -t codeberg.org/korbs/aptabase:arm64 .
- docker push ark.sudovanilla.org/korbs/aptabase:arm64
- docker push codeberg.org/korbs/aptabase:arm64
- name: "Bewcloud"
failure: ignore
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
commands:
- git clone https://github.com/bewcloud/bewcloud && cd ./bewcloud/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/bew:arm64 .
- docker build -t codeberg.org/korbs/bew:arm64 .
- docker push ark.sudovanilla.org/korbs/bew:arm64
- docker push codeberg.org/korbs/bew:arm64
- name: 4get
failure: ignore
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
commands:
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd ./4get/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/4get:arm64 .
- docker build -t codeberg.org/korbs/4get:arm64 .
- docker push ark.sudovanilla.org/korbs/4get:arm64
- docker push codeberg.org/korbs/4get:arm64
- name: Cinny
failure: ignore
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
commands:
- git clone https://github.com/cinnyapp/cinny && cd ./cinny/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/cinny:arm64 .
- docker build -t codeberg.org/korbs/cinny:arm64 .
- docker push ark.sudovanilla.org/korbs/cinny:arm64
- docker push codeberg.org/korbs/cinny:arm64
- name: Bun
failure: ignore
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
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
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/bun:arm64 .
- docker build -t codeberg.org/korbs/bun:arm64 .
- docker push ark.sudovanilla.org/korbs/bun:arm64
- docker push codeberg.org/korbs/bun:arm64
- name: Hyperpipe
failure: ignore
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
commands:
- git clone https://codeberg.org/Hyperpipe/Hyperpipe && cd ./Hyperpipe/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/hyperpipe:arm64 .
- docker build -t codeberg.org/korbs/hyperpipe:arm64 .
- docker push ark.sudovanilla.org/korbs/hyperpipe:arm64
- docker push codeberg.org/korbs/hyperpipe:arm64
- name: Bin
failure: ignore
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
commands:
- git clone https://github.com/w4/bin && cd ./bin/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/bin:arm64 .
- docker build -t codeberg.org/korbs/bin:arm64 .
- docker push ark.sudovanilla.org/korbs/bin:arm64
- docker push codeberg.org/korbs/bin:arm64
- name: Whoogle
failure: ignore
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
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
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/whoogle:arm64 .
- docker build -t codeberg.org/korbs/whoogle:arm64 .
- docker push ark.sudovanilla.org/korbs/whoogle:arm64
- docker push codeberg.org/korbs/whoogle:arm64
- name: "Araa Search"
failure: ignore
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
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
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- cp alpine-based.dockerfile Dockerfile # yeah no
- docker build -t ark.sudovanilla.org/korbs/araa-search:arm64 .
- docker build -t codeberg.org/korbs/araa-search:arm64 .
- docker push ark.sudovanilla.org/korbs/araa-search:arm64
- docker push codeberg.org/korbs/araa-search:arm64
- name: Poke
failure: ignore
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
commands:
- git clone https://codeberg.org/ashley/poke && cd ./poke/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t codeberg.org/korbs/poke:arm64 .
- docker build -t ark.sudovanilla.org/korbs/poke:arm64 .
- docker push codeberg.org/korbs/poke:arm64
- docker push codeberg.org/korbs/poke:arm64
---
#############
### AMD64 ###
#############
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Images for AMD64
# Do not clone the Docker Build Automation, it is not needed.
# https://docs.drone.io/pipeline/exec/syntax/cloning/#custom-logic
clone:
disable: true
# Set Platform
# https://docs.drone.io/pipeline/exec/syntax/platform/
platform:
os: linux
arch: amd64
steps:
- name: "Debian Slim"
failure: ignore
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
commands:
- git clone https://github.com/linuxcontainers/debian-slim && cd ./debian-slim/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/debian-slim:amd64 .
- docker build -t codeberg.org/korbs/debian-slim:amd64 .
- docker push ark.sudovanilla.org/korbs/debian-slim:amd64
- docker rmi ark.sudovanilla.org/korbs/debian-slim:amd64
- docker push codeberg.org/korbs/debian-slim:amd64
- docker rmi codeberg.org/korbs/debian-slim:amd64
- name: "Aptabase"
failure: ignore
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
commands:
- git clone https://github.com/aptabase/aptabase && cd ./aptabase/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/aptabase:amd64 .
- docker build -t codeberg.org/korbs/aptabase:amd64 .
- docker push ark.sudovanilla.org/korbs/aptabase:amd64
- docker rmi ark.sudovanilla.org/korbs/aptabase:amd64
- docker push codeberg.org/korbs/aptabase:amd64
- docker rmi codeberg.org/korbs/aptabase:amd64
- name: "Bewcloud"
failure: ignore
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
commands:
- git clone https://github.com/bewcloud/bewcloud && cd ./bewcloud/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/bew:amd64 .
- docker build -t codeberg.org/korbs/bew:amd64 .
- docker push ark.sudovanilla.org/korbs/bew:amd64
- docker rmi ark.sudovanilla.org/korbs/bew:amd64
- docker push codeberg.org/korbs/bew:amd64
- docker rmi codeberg.org/korbs/bew:amd64
- name: 4get
failure: ignore
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
commands:
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd ./4get/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/4get:amd64 .
- docker build -t codeberg.org/korbs/4get:amd64 .
- docker push ark.sudovanilla.org/korbs/4get:amd64
- docker rmi ark.sudovanilla.org/korbs/4get:amd64
- docker push codeberg.org/korbs/4get:amd64
- docker rmi codeberg.org/korbs/4get:amd64
- name: Cinny
failure: ignore
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
commands:
- git clone https://github.com/cinnyapp/cinny && cd ./cinny/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/cinny:amd64 .
- docker build -t codeberg.org/korbs/cinny:amd64 .
- docker push ark.sudovanilla.org/korbs/cinny:amd64
- docker rmi ark.sudovanilla.org/korbs/cinny:amd64
- docker push codeberg.org/korbs/cinny:amd64
- docker rmi codeberg.org/korbs/cinny:amd64
- name: Bun
failure: ignore
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
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
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/bun:amd64 .
- docker build -t codeberg.org/korbs/bun:amd64 .
- docker push ark.sudovanilla.org/korbs/bun:amd64
- docker rmi ark.sudovanilla.org/korbs/bun:amd64
- docker push codeberg.org/korbs/bun:amd64
- docker rmi codeberg.org/korbs/bun:amd64
- name: Hyperpipe
failure: ignore
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
commands:
- git clone https://codeberg.org/Hyperpipe/Hyperpipe && cd ./Hyperpipe/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/hyperpipe:amd64 .
- docker build -t codeberg.org/korbs/hyperpipe:amd64 .
- docker push ark.sudovanilla.org/korbs/hyperpipe:amd64
- docker rmi ark.sudovanilla.org/korbs/hyperpipe:amd64
- docker push codeberg.org/korbs/hyperpipe:amd64
- docker rmi codeberg.org/korbs/hyperpipe:amd64
- name: Bin
failure: ignore
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
commands:
- git clone https://github.com/w4/bin && cd ./bin/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/bin:amd64 .
- docker build -t codeberg.org/korbs/bin:amd64 .
- docker push ark.sudovanilla.org/korbs/bin:amd64
- docker rmi ark.sudovanilla.org/korbs/bin:amd64
- docker push codeberg.org/korbs/bin:amd64
- docker rmi codeberg.org/korbs/bin:amd64
- name: Whoogle
failure: ignore
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
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
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/whoogle:amd64 .
- docker build -t codeberg.org/korbs/whoogle:amd64 .
- docker push ark.sudovanilla.org/korbs/whoogle:amd64
- docker rmi ark.sudovanilla.org/korbs/whoogle:amd64
- docker push codeberg.org/korbs/whoogle:amd64
- docker rmi codeberg.org/korbs/whoogle:amd64
- name: "Araa Search"
failure: ignore
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
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
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- cp alpine-based.dockerfile Dockerfile # yeah no
- docker build -t ark.sudovanilla.org/korbs/araa-search:amd64 .
- docker build -t codeberg.org/korbs/araa-search:amd64 .
- docker push ark.sudovanilla.org/korbs/araa-search:amd64
- docker rmi ark.sudovanilla.org/korbs/araa-search:amd64
- docker push codeberg.org/korbs/araa-search:amd64
- docker rmi codeberg.org/korbs/araa-search:amd64
- name: Poke
failure: ignore
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
commands:
- git clone https://codeberg.org/ashley/poke && cd ./poke/
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t codeberg.org/korbs/poke:amd64 .
- docker build -t ark.sudovanilla.org/korbs/poke:amd64 .
- docker push codeberg.org/korbs/poke:amd64
- docker rmi codeberg.org/korbs/poke:amd64
- docker push codeberg.org/korbs/poke:amd64
- docker rmi codeberg.org/korbs/poke:amd64