1
Fork 0

update
Some checks reported errors
continuous-integration/drone Build encountered an error

This commit is contained in:
Korbs 2024-08-30 05:52:39 -04:00
parent 734aa6e8fd
commit c7e484d4e5

View file

@ -1,3 +1,46 @@
#############
### 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
--- ---
################### ###################
### Debian Slim ### ### Debian Slim ###