mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 14:59:43 +00:00
Customize tags
This commit is contained in:
parent
d5a5e213d3
commit
3943ed9fd6
1 changed files with 17 additions and 0 deletions
17
.drone.yml
17
.drone.yml
|
|
@ -33,6 +33,23 @@ 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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue