1
Fork 0

Convert repo to build other packages
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
Korbs 2024-06-07 16:59:53 -04:00
parent df69c16922
commit 0be25b4d7f

View file

@ -14,17 +14,48 @@ steps:
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
# Git Clone 4Get Mirror
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd 4get
# Login to SudoVanilla Ark, Codeberg, and Quay in Docker
############################
## 4get ##
############################
- 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 # DOES NOT WORK
# - echo $QUAY_PASSWORD | docker login quay.io --username $QUAY_USERNAME --password-stdin # DOES NOT WORK
# Build Images
- docker build -t ark.sudovanilla.org/korbs/4get:arm64 .
# - docker build -t codeberg.org/korbs/4get:arm64 .
# - docker build -t quay.io/sudovanilla/4get:arm64 .
# Push Images
- docker push ark.sudovanilla.org/korbs/4get:arm64
# - docker push codeberg.org/korbs/4get:arm64
# - docker push quay.io/sudovanilla/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 ../