2024-08-30 04:55:23 -05:00
|
|
|
---
|
2024-08-30 04:52:39 -05:00
|
|
|
#############
|
|
|
|
### Poke ###
|
|
|
|
#############
|
|
|
|
kind: pipeline # https://docs.drone.io/pipeline/overview/
|
|
|
|
type: exec # https://docs.drone.io/pipeline/exec/overview/
|
|
|
|
name: Build Images for ARM64
|
|
|
|
|
|
|
|
# Do not clone the Docker Build Automation, it is not needed.
|
|
|
|
# https://docs.drone.io/pipeline/exec/syntax/cloning/#custom-logic
|
|
|
|
clone:
|
|
|
|
disable: true
|
|
|
|
|
|
|
|
# Set Platform
|
|
|
|
# https://docs.drone.io/pipeline/exec/syntax/platform/
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Poke
|
|
|
|
failure: ignore
|
|
|
|
environment:
|
|
|
|
ARK_USERNAME:
|
|
|
|
from_secret: ARK_USERNAME
|
|
|
|
ARK_PASSWORD:
|
|
|
|
from_secret: ARK_PASSWORD
|
|
|
|
CODEBERG_USERNAME:
|
|
|
|
from_secret: CODEBERG_USERNAME
|
|
|
|
CODEBERG_PASSWORD:
|
|
|
|
from_secret: CODEBERG_PASSWORD
|
|
|
|
commands:
|
|
|
|
- git clone https://codeberg.org/ashley/poke && cd ./poke/
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- docker build -t codeberg.org/korbs/poke:arm64 .
|
|
|
|
- docker build -t codeberg.org/poketube/poke:arm64 .
|
|
|
|
- docker build -t ark.sudovanilla.org/korbs/poke:arm64 .
|
|
|
|
|
|
|
|
- docker push codeberg.org/korbs/poke:arm64
|
|
|
|
- docker push codeberg.org/poketube/poke:arm64
|
|
|
|
- docker push ark.sudovanilla.org/korbs/poke:arm64
|