浏览代码

chore: simplify docker build process. (#2827)

* chore: simplify docker build process.

* chore: update docker plugin.
tags/v1.5.0-dev
Bo-Yi Wu 6 年前
父节点
当前提交
ca4a84a2d6
共有 1 个文件被更改,包括 4 次插入15 次删除
  1. 4
    15
      .drone.yml

+ 4
- 15
.drone.yml 查看文件

@@ -238,16 +238,7 @@ pipeline:
branch: [ master ]

docker:
image: plugins/docker:17.05
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
tags: [ '${DRONE_TAG##v}' ]
when:
event: [ tag ]

docker:
image: plugins/docker:17.05
image: plugins/docker:17.12
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
@@ -257,14 +248,12 @@ pipeline:
branch: [ release/* ]

docker:
image: plugins/docker:17.05
image: plugins/docker:17.12
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
tags: [ 'latest' ]
default_tags: true
when:
event: [ push ]
branch: [ master ]
event: [ push, tag ]

release:
image: plugins/s3:1

正在加载...
取消
保存