1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 16:09:44 +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 kind: pipeline
name: publish 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 - name: docker
image: plugins/docker image: plugins/docker
repo: shouptech/humulus
settings: settings:
auto_tag: false auto_tag: true
username: username:
from_secret: DOCKER_USERNAME from_secret: DOCKER_USERNAME
password: password:
from_secret: DOCKER_PASSWORD from_secret: DOCKER_PASSWORD
repo: shouptech/humulus
depends_on: depends_on:
- test - test