From 08168e17852684b58c6ac07d6ea14633de8c79d1 Mon Sep 17 00:00:00 2001 From: Flook Date: Fri, 31 Jan 2025 03:36:05 +0700 Subject: [PATCH] Add Drone CI pipeline --- .drone.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..fba5193 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,23 @@ +kind: pipeline +type: docker +name: build_and_push + +steps: + - name: build_docker_image + image: plugins/docker + settings: + repo: adminsoftwarecraft/opengis + tags: + - latest + - ${DRONE_COMMIT_SHA} + username: + from_secret: docker_username + password: + from_secret: docker_password + dockerfile: Dockerfile + build_args: + - NODE_ENV=production + +trigger: + event: + - push