Add automation, again
This commit is contained in:
parent
ad9272cfec
commit
d6be73fc99
1 changed files with 19 additions and 0 deletions
19
.drone.yml
Normal file
19
.drone.yml
Normal 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
|
Loading…
Reference in a new issue