mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 17:38:17 +00:00
chore: simplify docker build process. (#2827)
* chore: simplify docker build process. * chore: update docker plugin.
This commit is contained in:
parent
ff64f188fd
commit
ca4a84a2d6
1 changed files with 4 additions and 15 deletions
19
.drone.yml
19
.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
|
||||
|
|
Loading…
Reference in a new issue