Add Drone CI pipeline

This commit is contained in:
Flook 2025-01-31 03:36:05 +07:00
parent 15c2b01093
commit 08168e1785

23
.drone.yml Normal file
View File

@ -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