25 lines
No EOL
567 B
YAML
25 lines
No EOL
567 B
YAML
kind: pipeline
|
|
type: exec
|
|
name: Build and Push Docker Image
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
trigger:
|
|
event:
|
|
- cron
|
|
- push
|
|
|
|
steps:
|
|
- name: Build
|
|
environment:
|
|
ARK_USERNAME:
|
|
from_secret: ARK_USERNAME
|
|
ARK_PASSWORD:
|
|
from_secret: ARK_PASSWORD
|
|
commands:
|
|
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd 4get
|
|
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
|
|
- docker build -t ark.sudovanilla.org/korbs/4get:arm64 .
|
|
- docker push ark.sudovanilla.org/korbs/4get:arm64 |