add pictrs and iframely, read docker hub login from secrets

This commit is contained in:
Felix Ableitner 2020-12-14 17:01:40 +01:00
parent ccd26bfcd7
commit a455e8c0ab

View File

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