40 lines
797 B
YAML
40 lines
797 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: test
|
|
|
|
steps:
|
|
- name: build
|
|
image: gong921123/debian-nginx-php114-74:latest
|
|
pull: if-not-exists
|
|
commands:
|
|
- composer -v
|
|
- ls -a
|
|
- composer install -v
|
|
|
|
- name: deploy-push-images
|
|
depends_on:
|
|
- build
|
|
image: plugins/docker
|
|
pull: if-not-exists
|
|
commands:
|
|
- echo "HF--------------------------"
|
|
settings:
|
|
repo: registry.cn-shanghai.aliyuncs.com/gong92-socl/debian-nginx-php114-74
|
|
registry: registry.cn-shanghai.aliyuncs.com
|
|
insecure: true
|
|
username:
|
|
from_secret: aliyun_acr_username
|
|
password:
|
|
from_secret: aliyun_acr_password
|
|
dockerfile: docker/Dockerfile
|
|
tags: ${DRONE_TAG}
|
|
|
|
trigger:
|
|
|
|
|
|
# branch:
|
|
# - develop
|
|
event:
|
|
- tag
|
|
# - push
|