fix: test20
continuous-integration/drone/push Build was killed Details

develop
Unshift 2024-11-22 16:01:23 +08:00
parent b40b18be48
commit 8547409d79
1 changed files with 0 additions and 17 deletions

View File

@ -3,25 +3,8 @@ type: kubernetes
name: test
steps:
#构建镜像
- name: build
image: registry.cn-shanghai.aliyuncs.com/gong92-socl/hy-test-k8s
pull: if-not-exists
commands:
- 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