gateway/.drone.yml

20 lines
493 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

kind: pipeline
name: build
# 减少没必要的重复拉取仓库(有BUG会打包失败)
#clone:
# disable: true
steps:
- name: 打包Docker镜像并推送
image: plugins/docker
settings:
registry: registry.cn-hangzhou.aliyuncs.com
repo: registry.cn-hangzhou.aliyuncs.com/lixh/golang-gateway-demo-k8s
use_cache: true
username: docker@1780395505853616
password: l4rQkKdtIOlHKkTv
auto_tag: true
when:
event: push
branch: master