Buid and push to both Codeberg and Quay
This commit is contained in:
parent
de5e611be1
commit
9004aa7d13
1 changed files with 11 additions and 1 deletions
12
.drone.yml
12
.drone.yml
|
@ -19,7 +19,17 @@ steps:
|
||||||
ARK_PASSWORD:
|
ARK_PASSWORD:
|
||||||
from_secret: ARK_PASSWORD
|
from_secret: ARK_PASSWORD
|
||||||
commands:
|
commands:
|
||||||
|
# Git Clone 4Get Mirror
|
||||||
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd 4get
|
- 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 $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 ark.sudovanilla.org/korbs/4get:arm64 .
|
||||||
- docker push 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
|
Loading…
Reference in a new issue