# --- # kind: pipeline # type: docker # name: caddy # 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/php # cache_from: # - "stark.doylee.cn/library/php" # tags: # - ${DRONE_BUILD_NUMBER} # - 8.1-caddy # - 8-caddy # - caddy # - latest # target: caddy-latest # registry: stark.doylee.cn # mirror: https://p2t7g3ky.mirror.aliyuncs.com # when: # event: push # --- # kind: pipeline # type: docker # name: 7.3-caddy # 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/php # cache_from: # - "stark.doylee.cn/library/php:7.3-caddy" # tags: # - ${DRONE_BUILD_NUMBER} # - 7.3-caddy # target: caddy-73 # registry: stark.doylee.cn # mirror: https://p2t7g3ky.mirror.aliyuncs.com # when: # event: push # # --- kind: pipeline type: docker name: 7.4-caddy clone: depth: 1 steps: # 7.4 - name: build pull: if-not-exists image: plugins/docker settings: username: robot$library+drone password: DhmbcQyu7I5uaUfWbzcedbDGB0gfhuFR repo: stark.doylee.cn/library/php cache_from: - "stark.doylee.cn/library/php:7-caddy" - "caddy" - "php:7-fpm-alpine" tags: - ${DRONE_BUILD_NUMBER} - 7.4-caddy - 7-caddy registry: stark.doylee.cn mirror: https://p2t7g3ky.mirror.aliyuncs.com dockerfile: caddy/7.4/Dockerfile