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

Change tag methodology

This commit is contained in:
Emma 2019-06-29 21:02:13 -06:00
parent 1dd644bf2e
commit 5251c3dbca

View file

@ -33,15 +33,34 @@ kind: pipeline
name: publish
steps:
- name: tag
image: alpine
steps:
- echo "$DRONE_COMMIT_SHA,latest" > .tags
when:
- name: tag-release
image: alpine
steps:
- echo "$DRONE_TAG" > .tags
when:
event:
exclude:
- tag
- name: docker
image: plugins/docker
settings:
auto_tag: true
auto_tag: false
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: shouptech/humulus
when:
event:
- tag
depends_on:
- test