gateway/.drone.yml
李寻欢 ce1b5546eb
All checks were successful
continuous-integration/drone/push Build is passing
🐛 修复Drone无法打包的BUG
2021-09-09 10:35:48 +08:00

20 lines
493 B
YAML
Raw 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