Files
flarum/.drone.yml

87 lines
1.8 KiB
YAML
Raw Normal View History

2022-04-09 03:23:07 +08:00
# ---
# kind: pipeline
# type: docker
# name: apache
2022-04-09 01:32:10 +08:00
2022-04-09 03:23:07 +08:00
# clone:
# depth: 1
2022-04-09 01:32:10 +08:00
2022-04-09 03:23:07 +08:00
# 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
2022-04-09 02:59:13 +08:00
---
kind: pipeline
type: docker
2022-04-09 03:23:07 +08:00
name: 7-apache
clone:
depth: 1
steps:
2022-04-09 03:23:07 +08:00
# 7.4
- name: build
2022-04-09 02:59:13 +08:00
pull: if-not-exists
image: plugins/docker
settings:
username: robot$library+drone
password: DhmbcQyu7I5uaUfWbzcedbDGB0gfhuFR
repo: stark.doylee.cn/library/flarum
cache_from:
2022-04-09 03:23:07 +08:00
- "stark.doylee.cn/library/flarum:7-apache"
2022-04-09 02:59:13 +08:00
tags:
- ${DRONE_BUILD_NUMBER}
2022-04-09 03:23:07 +08:00
- 7.4-apache
- 7-apache
2022-04-09 02:59:13 +08:00
registry: stark.doylee.cn
mirror: https://p2t7g3ky.mirror.aliyuncs.com
2022-04-09 03:23:07 +08:00
dockerfile: path/to/Dockerfile
2022-04-09 02:59:13 +08:00
when:
event: push