|
|
@ -238,16 +238,7 @@ pipeline: |
|
|
|
branch: [ master ] |
|
|
|
branch: [ master ] |
|
|
|
|
|
|
|
|
|
|
|
docker: |
|
|
|
docker: |
|
|
|
image: plugins/docker:17.05 |
|
|
|
image: plugins/docker:17.12 |
|
|
|
pull: true |
|
|
|
|
|
|
|
secrets: [ docker_username, docker_password ] |
|
|
|
|
|
|
|
repo: gitea/gitea |
|
|
|
|
|
|
|
tags: [ '${DRONE_TAG##v}' ] |
|
|
|
|
|
|
|
when: |
|
|
|
|
|
|
|
event: [ tag ] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
image: plugins/docker:17.05 |
|
|
|
|
|
|
|
pull: true |
|
|
|
pull: true |
|
|
|
secrets: [ docker_username, docker_password ] |
|
|
|
secrets: [ docker_username, docker_password ] |
|
|
|
repo: gitea/gitea |
|
|
|
repo: gitea/gitea |
|
|
@ -257,14 +248,12 @@ pipeline: |
|
|
|
branch: [ release/* ] |
|
|
|
branch: [ release/* ] |
|
|
|
|
|
|
|
|
|
|
|
docker: |
|
|
|
docker: |
|
|
|
image: plugins/docker:17.05 |
|
|
|
image: plugins/docker:17.12 |
|
|
|
pull: true |
|
|
|
pull: true |
|
|
|
secrets: [ docker_username, docker_password ] |
|
|
|
|
|
|
|
repo: gitea/gitea |
|
|
|
repo: gitea/gitea |
|
|
|
tags: [ 'latest' ] |
|
|
|
default_tags: true |
|
|
|
when: |
|
|
|
when: |
|
|
|
event: [ push ] |
|
|
|
event: [ push, tag ] |
|
|
|
branch: [ master ] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
release: |
|
|
|
release: |
|
|
|
image: plugins/s3:1 |
|
|
|
image: plugins/s3:1 |
|
|
|