27 lines
592 B
YAML
Executable File
27 lines
592 B
YAML
Executable File
kind: pipeline
|
|
type: docker
|
|
name: testing
|
|
|
|
steps:
|
|
- name: build
|
|
image: composer:latest
|
|
commands:
|
|
- composer -v
|
|
- ls -a
|
|
- 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
|