15 lines
401 B
YAML
15 lines
401 B
YAML
|
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-gateway-demo-k8s
|
||
|
use_cache: true
|
||
|
username: docker@1780395505853616
|
||
|
password: l4rQkKdtIOlHKkTv
|
||
|
auto_tag: true
|
||
|
when:
|
||
|
event: push
|
||
|
branch: master
|