api/.drone.yml

17 lines
423 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
2021-08-31 16:58:10 +08:00
# auto_tag: true
tags:
2021-08-31 17:06:28 +08:00
- v3
2021-08-31 09:38:40 +08:00
when:
event: push
branch: master