fix: test20
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
b40b18be48
commit
8547409d79
17
.drone.yml
17
.drone.yml
|
@ -3,25 +3,8 @@ type: kubernetes
|
||||||
name: test
|
name: test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
#构建镜像
|
|
||||||
- name: build
|
- name: build
|
||||||
image: registry.cn-shanghai.aliyuncs.com/gong92-socl/hy-test-k8s
|
image: registry.cn-shanghai.aliyuncs.com/gong92-socl/hy-test-k8s
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
commands:
|
commands:
|
||||||
- ls -a
|
- ls -a
|
||||||
|
|
||||||
#推送镜像至镜像仓库
|
|
||||||
- name: publish
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
purge: false
|
|
||||||
registry: registry.cn-shanghai.aliyuncs.com
|
|
||||||
repo: registry.cn-shanghai.aliyuncs.com/gong92-socl/hy-test-k8s
|
|
||||||
use_cache: true
|
|
||||||
tags:
|
|
||||||
- latest
|
|
||||||
username:
|
|
||||||
from_secret: aliyun_docker_name
|
|
||||||
password:
|
|
||||||
from_secret: aliyun_docker_password
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue