From d6be73fc998d25e8c594e2f328af46e3da0ef63e Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 7 Jun 2024 21:43:43 -0400 Subject: [PATCH] Add automation, again --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..ad6dcda --- /dev/null +++ b/.drone.yml @@ -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 \ No newline at end of file