This commit is contained in:
26
.drone.yml
26
.drone.yml
@@ -6,7 +6,8 @@ clone:
|
||||
depth: 1
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
# 8.1
|
||||
- name: build-apache
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
settings:
|
||||
@@ -17,8 +18,31 @@ steps:
|
||||
- "stark.doylee.cn/library/flarum"
|
||||
tags:
|
||||
- ${DRONE_BUILD_NUMBER}
|
||||
- 8.1-apache
|
||||
- 8-apache
|
||||
- apache
|
||||
- latest
|
||||
target: apache-latest
|
||||
registry: stark.doylee.cn
|
||||
mirror: https://p2t7g3ky.mirror.aliyuncs.com
|
||||
when:
|
||||
event: push
|
||||
|
||||
# 7.3
|
||||
- name: build-7.3-apache
|
||||
pull: if-not-exists
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username: robot$library+drone
|
||||
password: DhmbcQyu7I5uaUfWbzcedbDGB0gfhuFR
|
||||
repo: stark.doylee.cn/library/flarum
|
||||
cache_from:
|
||||
- "stark.doylee.cn/library/flarum:7.3-apache"
|
||||
tags:
|
||||
- ${DRONE_BUILD_NUMBER}
|
||||
- 7.3-apache
|
||||
target: apache-73
|
||||
registry: stark.doylee.cn
|
||||
mirror: https://p2t7g3ky.mirror.aliyuncs.com
|
||||
when:
|
||||
event: push
|
||||
Reference in New Issue
Block a user