新增7.4

This commit is contained in:
李东云
2022-04-09 03:23:07 +08:00
parent 3f976a498d
commit df703588a6

View File

@@ -1,13 +1,72 @@
# ---
# kind: pipeline
# type: docker
# name: apache
# clone:
# depth: 1
# steps:
# # 8.1
# - name: build
# 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"
# 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
# ---
# kind: pipeline
# type: docker
# name: 7.3-apache
# clone:
# depth: 1
# steps:
# # 7.3
# - name: build
# 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
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: apache name: 7-apache
clone: clone:
depth: 1 depth: 1
steps: steps:
# 8.1 # 7.4
- name: build - name: build
pull: if-not-exists pull: if-not-exists
image: plugins/docker image: plugins/docker
@@ -16,43 +75,13 @@ steps:
password: DhmbcQyu7I5uaUfWbzcedbDGB0gfhuFR password: DhmbcQyu7I5uaUfWbzcedbDGB0gfhuFR
repo: stark.doylee.cn/library/flarum repo: stark.doylee.cn/library/flarum
cache_from: cache_from:
- "stark.doylee.cn/library/flarum" - "stark.doylee.cn/library/flarum:7-apache"
tags: tags:
- ${DRONE_BUILD_NUMBER} - ${DRONE_BUILD_NUMBER}
- 8.1-apache - 7.4-apache
- 8-apache - 7-apache
- apache
- latest
target: apache-latest
registry: stark.doylee.cn
mirror: https://p2t7g3ky.mirror.aliyuncs.com
when:
event: push
---
kind: pipeline
type: docker
name: 7.3-apache
clone:
depth: 1
steps:
# 7.3
- name: build
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 registry: stark.doylee.cn
mirror: https://p2t7g3ky.mirror.aliyuncs.com mirror: https://p2t7g3ky.mirror.aliyuncs.com
dockerfile: path/to/Dockerfile
when: when:
event: push event: push