diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..882ae6c --- /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 \ No newline at end of file