From 60e958653064ed16b78e41cb7f5d6e8e8a945c8c Mon Sep 17 00:00:00 2001
From: Nutomic <me@nutomic.com>
Date: Thu, 19 May 2022 20:30:16 +0000
Subject: [PATCH] Add drone task for nightly build (#2264)

---
 .drone.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.drone.yml b/.drone.yml
index 37701301..25e4518a 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -75,6 +75,21 @@ steps:
       - yarn
       - yarn api-test
 
+  - name: nightly build
+    image: plugins/docker
+    settings:
+      dockerfile: docker/dev/Dockerfile
+      username:
+        from_secret: docker_username
+      password:
+        from_secret: docker_password
+      repo: dessalines/lemmy
+      tags:
+        - dev
+    when:
+      event:
+        - cron
+
   - name: publish release docker image
     image: plugins/docker
     settings:
-- 
2.44.1