api/.drone.yml

15 lines
397 B
YAML
Raw Normal View History

2021-08-31 09:38:40 +08:00
kind: pipeline
name: build
steps:
- name: 打包Docker镜像并推送
image: plugins/docker
settings:
registry: registry.cn-hangzhou.aliyuncs.com
repo: registry.cn-hangzhou.aliyuncs.com/lixh/golang-api-demo-k8s
use_cache: true
username: docker@1780395505853616
password: l4rQkKdtIOlHKkTv
auto_tag: true
when:
event: push
branch: master