This commit is contained in:
parent
734aa6e8fd
commit
c7e484d4e5
1 changed files with 43 additions and 0 deletions
43
.drone.yml
43
.drone.yml
|
@ -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 ###
|
||||||
|
|
Loading…
Reference in a new issue