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: # 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