1
Fork 0
docker-build-automation/.drone.yml
2024-06-07 16:25:15 -04:00

24 lines
No EOL
559 B
YAML

kind: pipeline
type: exec
name: Build and Push Docker Image
platform:
os: linux
arch: arm64
trigger:
branch:
- main
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