From a455e8c0ab38aeb994a7d4f6c80ec63e160d8610 Mon Sep 17 00:00:00 2001
From: Felix Ableitner <me@nutomic.com>
Date: Mon, 14 Dec 2020 17:01:40 +0100
Subject: [PATCH] add pictrs and iframely, read docker hub login from secrets

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

diff --git a/.drone.yml b/.drone.yml
index 3988661e..16a3555e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -86,22 +86,27 @@ steps:
     image: plugins/docker
     settings:
       dockerfile: docker/prod/Dockerfile
-      #username: kevinbacon
-      #password: pa55word
+      username:
+        from_secret: docker_username
+      password:
+        from_secret: docker_password
       repo: dessalines/lemmy
     when:
       ref:
       - refs/tags/*
 
-# TODO: also need to add more databases for federation test
-#       (or use multiple DBs in the same postgres instance)
 services:
   - name: database
     image: postgres:12-alpine
     environment:
       POSTGRES_USER: lemmy
       POSTGRES_PASSWORD: password
-    detach: true
+
+  - name: pictrs
+    image: asonix/pictrs:v0.2.5-r0
+
+  - name: iframely
+    image: dogbin/iframely:latest
 
 volumes:
   - name: dieselcli
-- 
2.44.1