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:
parent
7d1a653955
commit
9c50716d7f
1 changed files with 2 additions and 20 deletions
22
.drone.yml
22
.drone.yml
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue