1
Fork 0
docker-build-automation/.drone.yml
Korbs 9422f2c193
All checks were successful
continuous-integration/drone Build is passing
Skip Phanpy
2024-06-07 17:06:26 -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 ../