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
|
name: publish
|
||||||
|
|
||||||
steps:
|
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
|
||||||
settings:
|
settings:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue