1
Fork 0
docker-build-automation/.drone.yml
Korbs 0be25b4d7f
Some checks failed
continuous-integration/drone Build is failing
Convert repo to build other packages
2024-06-07 16:59:53 -04:00

61 lines
No EOL
2.3 KiB
YAML

kind: pipeline
type: exec
name: Build and Push (Docker)
platform:
os: linux
arch: arm64
steps:
- name: Build
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
############################
## 4get ##
############################
- 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
- 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 ##
############################
- 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 ../
############################
## 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 ../