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:
parent
1dd644bf2e
commit
5251c3dbca
1 changed files with 20 additions and 1 deletions
21
.drone.yml
21
.drone.yml
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue