1
Fork 0
docker-build-automation/.drone.yml
Korbs 6371b5efc8
All checks were successful
continuous-integration/drone Build is passing
Use AMD64 for other steps
2024-08-30 06:35:51 -04:00

707 lines
No EOL
21 KiB
YAML
Executable file

---
#############
### Poke ###
#############
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Poke Image 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: 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 codeberg.org/poketube/poke:arm64 .
- docker build -t ark.sudovanilla.org/korbs/poke:arm64 .
- docker push codeberg.org/korbs/poke:arm64
- docker push codeberg.org/poketube/poke:arm64
- docker push ark.sudovanilla.org/korbs/poke:arm64
---
###################
### Debian Slim ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Debian Slim Image 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
---
###################
### Aptabase ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Aptabase Image 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: "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
---
###################
### 4get ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build 4get Image 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: 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
---
###################
### Cinny ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Cinny Image 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: 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
---
###################
### Bun ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Bun Image 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: 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
---
###################
### Hyperpipe ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Hyperpipe Image 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: 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
---
###################
### Araa Search ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Araa Search Image 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: "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
---
#############
### Poke ###
#############
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Poke Image 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:
steps:
- 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 codeberg.org/poketube/poke:amd64 .
- docker build -t ark.sudovanilla.org/korbs/poke:amd64 .
- docker push ark.sudovanilla.org/korbs/poke:amd64
- docker rmi ark.sudovanilla.org/korbs/poke:amd64
- docker push codeberg.org/korbs/poke:amd64
- docker rmi codeberg.org/korbs/poke:amd64
- docker push codeberg.org/poketube/poke:amd64
- docker rmi codeberg.org/poketube/poke:amd64
---
###################
### Debian Slim ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Debian Slim Image 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
---
###################
### Aptabase ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Aptabase Image 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: "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
---
###################
### 4get ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build 4get Image 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: 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
---
###################
### Cinny ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Cinny Image 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: 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
---
###################
### Bun ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Bun Image 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: 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
---
###################
### Hyperpipe ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Hyperpipe Image 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: 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
---
###################
### Araa Search ###
###################
kind: pipeline # https://docs.drone.io/pipeline/overview/
type: exec # https://docs.drone.io/pipeline/exec/overview/
name: Build Araa Search Image 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: "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