]> Untitled Git - lemmy.git/commitdiff
add pictrs and iframely, read docker hub login from secrets
authorFelix Ableitner <me@nutomic.com>
Mon, 14 Dec 2020 16:01:40 +0000 (17:01 +0100)
committerFelix Ableitner <me@nutomic.com>
Mon, 14 Dec 2020 16:01:40 +0000 (17:01 +0100)
.drone.yml

index 3988661e09194f496ac4f2df2d1f97e935a03680..16a3555eee665d87dbe2ce15c2ccb630913e1aac 100644 (file)
@@ -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