mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 16:09:44 +00:00
Revert "Remove docker build from pipeline (using dockerhub)"
This reverts commit 0583e45f1c.
This commit is contained in:
parent
0583e45f1c
commit
e0ff676b8a
1 changed files with 33 additions and 0 deletions
33
.drone.yml
33
.drone.yml
|
|
@ -27,3 +27,36 @@ steps:
|
||||||
# Upload coverage report
|
# Upload coverage report
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
- 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]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue