hyperfk8s/.drone.yml

28 lines
728 B
YAML
Executable File

kind: pipeline
type: docker
name: testing
steps:
- name: build
image: registry.cn-shanghai.aliyuncs.com/gong92-socl/debian-nginx-php114-74
pull: if-not-exists
commands:
- ls
- composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
- composer install -v
- name: deploy-push-images
depends_on:
- build
image: plugins/docker
pull: if-not-exists
settings:
repo: registry.cn-shanghai.aliyuncs.com/gong92-socl/hy-test-k8s
registry: registry.cn-shanghai.aliyuncs.com
insecure: true
username:
from_secret: aliyun_docker_name
password:
from_secret: aliyun_docker_password
dockerfile: docker/Dockerfile