mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 16:09:44 +00:00
Publish a docker image
This commit is contained in:
parent
195a007e85
commit
b870363a8c
1 changed files with 17 additions and 1 deletions
18
.drone.yml
18
.drone.yml
|
|
@ -1,5 +1,5 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: test
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: couchdb
|
- name: couchdb
|
||||||
|
|
@ -27,3 +27,19 @@ steps:
|
||||||
# Upload coverage report
|
# Upload coverage report
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
- codecov
|
- codecov
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: publish
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
auto_tag: true
|
||||||
|
username:
|
||||||
|
from_secret: DOCKER_USERNAME
|
||||||
|
password:
|
||||||
|
from_secret: DOCKER_PASSWORD
|
||||||
|
|
||||||
|
depends_on: test
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue