1
Fork 0
docker-build-automation/.drone.yml

25 lines
567 B
YAML
Raw Normal View History

2024-06-07 15:14:32 -05:00
kind: pipeline
type: exec
name: Build and Push Docker Image
platform:
os: linux
arch: arm64
2024-06-07 15:25:15 -05:00
trigger:
2024-06-07 15:26:10 -05:00
event:
- cron
- push
2024-06-07 15:25:15 -05:00
2024-06-07 15:14:32 -05:00
steps:
- name: Build
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
2024-06-07 15:22:40 -05:00
- git clone https://ark.sudovanilla.org/korbs/4get/ && cd 4get
2024-06-07 15:14:32 -05:00
- 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