From 86e53063a9259c3b3b9e19dfee954cca339fe695 Mon Sep 17 00:00:00 2001 From: Korbs Date: Fri, 7 Jun 2024 16:14:32 -0400 Subject: [PATCH] Add Drone file --- .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..7696cef --- /dev/null +++ b/.drone.yml @@ -0,0 +1,19 @@ +kind: pipeline +type: exec +name: Build and Push Docker Image + +platform: + os: linux + arch: arm64 + +steps: +- name: Build + 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/4get:arm64 . + - docker push ark.sudovanilla.org/korbs/4get:arm64 \ No newline at end of file