1
Fork 0
docker-build-automation/.drone.yml

64 lines
2.2 KiB
YAML
Raw Normal View History

2024-06-07 15:14:32 -05:00
kind: pipeline
type: exec
2024-06-07 15:34:17 -05:00
name: Build and Push (Docker)
2024-06-07 15:14:32 -05:00
platform:
os: linux
arch: arm64
steps:
2024-06-07 16:28:43 -05:00
- name: 4get
2024-06-07 15:14:32 -05:00
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
2024-06-07 15:59:53 -05:00
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd ./4get/
2024-06-07 15:14:32 -05:00
- 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
2024-06-07 16:28:43 -05:00
- name: Cinny
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
2024-06-07 15:59:53 -05:00
- 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
2024-06-07 16:28:43 -05:00
- name: Bun
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
2024-06-07 15:59:53 -05:00
- 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
2024-06-07 16:28:43 -05:00
- name: Hyperpipe
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
2024-06-07 15:59:53 -05:00
- 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 .
2024-06-07 16:47:49 -05:00
- 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