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

Use auto tag and other fixesg

This commit is contained in:
Emma 2019-06-29 09:44:06 -06:00
parent 7d1a653955
commit 9c50716d7f

View file

@ -32,33 +32,15 @@ steps:
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
repo: shouptech/humulus
settings:
auto_tag: false
auto_tag: true
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: shouptech/humulus
depends_on:
- test