Add automation, again

This commit is contained in:
Korbs 2024-06-07 21:43:43 -04:00
parent ad9272cfec
commit d6be73fc99

19
.drone.yml Normal file
View file

@ -0,0 +1,19 @@
kind: pipeline
type: exec
name: Build and Push (Docker)
platform:
os: linux
arch: arm64
steps:
- name: 4get
environment:
ARK_USERNAME:
from_secret: ARK_USERNAME
ARK_PASSWORD:
from_secret: ARK_PASSWORD
commands:
- echo $ARK_PASSWORD | docker login ark.sudovanilla.org --username $ARK_USERNAME --password-stdin
- docker build -t ark.sudovanilla.org/korbs/sudovanilla-website .
- docker push ark.sudovanilla.org/korbs/sudovanilla-website