1
Fork 0

Buid and push to both Codeberg and Quay

This commit is contained in:
Korbs 2024-06-07 16:30:12 -04:00
parent de5e611be1
commit 9004aa7d13

View file

@ -19,7 +19,17 @@ 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
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- echo $CODEBERG_PASSWORD | docker login ark.sudovanilla.org --username $CODEBERG_USERNAME --password-stdin
- echo $QUAY_PASSWORD | docker login ark.sudovanilla.org --username $QUAY_USERNAME --password-stdin
# 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