1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 13:59:43 +00:00

Revert "Remove docker build from pipeline (using dockerhub)"

This reverts commit 0583e45f1c.
This commit is contained in:
Emma 2019-06-29 09:40:17 -06:00
parent 0583e45f1c
commit e0ff676b8a

View file

@ -27,3 +27,36 @@ steps:
# Upload coverage report
- pip install codecov
- codecov
---
kind: pipeline
name: publish
steps:
- name: tag
image: alpine
commands:
- echo "$DRONE_COMMIT_SHA" > .tags
when:
event:
exclude:
- tag
- name: tag-release
image: alpine
commands:
- echo "$DRONE_TAG,latest" > .tags
when:
event:
- tag
- name: docker
image: plugins/docker
settings:
auto_tag: false
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
depends_on: [test]