Fix drone docker target
Only publish push to master, release branch and tag
This commit is contained in:
parent
2e3475f02c
commit
5d1a45dcd5
12
.drone.yml
12
.drone.yml
|
@ -253,8 +253,18 @@ pipeline:
|
||||||
repo: gitea/gitea
|
repo: gitea/gitea
|
||||||
default_tags: true
|
default_tags: true
|
||||||
when:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push ]
|
||||||
|
branch: [ master ]
|
||||||
|
|
||||||
|
docker:
|
||||||
|
image: plugins/docker:17.12
|
||||||
|
secrets: [ docker_username, docker_password ]
|
||||||
|
pull: true
|
||||||
|
repo: gitea/gitea
|
||||||
|
default_tags: true
|
||||||
|
when:
|
||||||
|
event: [ tag ]
|
||||||
|
|
||||||
gpg-sign:
|
gpg-sign:
|
||||||
image: plugins/gpgsign:1
|
image: plugins/gpgsign:1
|
||||||
pull: true
|
pull: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user