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

61 lines
2.3 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:
- name: Build
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
2024-06-07 15:59:53 -05:00
############################
## 4get ##
############################
- 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 15:59:53 -05:00
- cd ../
############################
## Cinny ##
############################
- 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
- cd ../
############################
## Phanpy ##
############################
2024-06-07 16:06:26 -05:00
# - git clone https://github.com/cheeaun/phanpy && cd ./phanpy/
# - echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
# - wget https://ark.sudovanilla.org/Korbs/4get-build-automation/raw/branch/main/phanpy/Dockerfile
# - docker build -t ark.sudovanilla.org/korbs/phanpy:arm64 .
# - docker push ark.sudovanilla.org/korbs/phanpy:arm64
# - cd ../
2024-06-07 15:59:53 -05:00
############################
## Bun ##
############################
- 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
- cd ../
############################
## Hyperpipe ##
############################
- 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
- cd ../