|
|
|
@ -24,6 +24,20 @@ steps:
|
|
|
|
|
commands:
|
|
|
|
|
- mix test
|
|
|
|
|
|
|
|
|
|
- name: build the image
|
|
|
|
|
image: plugins/kaniko
|
|
|
|
|
settings:
|
|
|
|
|
username: kklochko
|
|
|
|
|
password:
|
|
|
|
|
from_secret: REGISTRY_PASSWORD
|
|
|
|
|
repo: git.kklochko.space/kklochko/decentralised_book_index
|
|
|
|
|
registry: git.kklochko.space
|
|
|
|
|
tags:
|
|
|
|
|
- latest
|
|
|
|
|
- ${DRONE_TAG}
|
|
|
|
|
when:
|
|
|
|
|
event: tag
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
- name: mix
|
|
|
|
|
temp: {}
|
|
|
|
@ -34,4 +48,4 @@ services:
|
|
|
|
|
environment:
|
|
|
|
|
POSTGRES_DB: decentralised_book_index_dev
|
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
|