Fix drone docker target

Only publish push to master, release branch and tag
This commit is contained in:
Antoine GIRARD 2018-07-05 10:57:14 +02:00 committed by GitHub
parent 2e3475f02c
commit 5d1a45dcd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,8 +253,18 @@ pipeline:
repo: gitea/gitea
default_tags: true
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:
image: plugins/gpgsign:1
pull: true