add publish step to drone
This commit is contained in:
parent
e9ef44eb53
commit
f9d9fd1075
15
.drone.yml
15
.drone.yml
@ -19,6 +19,16 @@ steps:
|
|||||||
- npm install --prefix assets
|
- npm install --prefix assets
|
||||||
- mix test
|
- mix test
|
||||||
|
|
||||||
|
- name: build and publish
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: shibaobun/cannery
|
||||||
|
tags: latest
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: database
|
- name: database
|
||||||
image: postgres:13
|
image: postgres:13
|
||||||
@ -26,3 +36,8 @@ services:
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_DB: postgres
|
POSTGRES_DB: postgres
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: docker_sock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user