From: Nutomic <me@nutomic.com>
Date: Thu, 19 May 2022 20:30:16 +0000 (+0000)
Subject: Add drone task for nightly build (#2264)
X-Git-Url: http://these/git/%22https:/image.com/static/%7Bicon?a=commitdiff_plain;h=60e958653064ed16b78e41cb7f5d6e8e8a945c8c;p=lemmy.git

Add drone task for nightly build (#2264)
---

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: