update
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
7e6e013df0
commit
a111b75664
|
@ -77,8 +77,11 @@ func (p *plugin) Find(ctx context.Context, req *config.Request) (*drone.Config,
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(modifiedApiList) == 0 && len(modifiedServiceList) == 0 {
|
if len(modifiedApiList) == 0 && len(modifiedServiceList) == 0 {
|
||||||
// 返回 nil 按照 204 处理
|
// 返回空
|
||||||
return nil, nil
|
return &drone.Config{
|
||||||
|
Data: "",
|
||||||
|
Kind: "",
|
||||||
|
}, nil
|
||||||
}
|
}
|
||||||
retData := destinationApi + "\n\n" + destinationService
|
retData := destinationApi + "\n\n" + destinationService
|
||||||
n := strings.LastIndex(retData, "---")
|
n := strings.LastIndex(retData, "---")
|
||||||
|
|
|
@ -19,7 +19,7 @@ steps:
|
||||||
repo: reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }}
|
repo: reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }}
|
||||||
registry: reg.icechen.cn
|
registry: reg.icechen.cn
|
||||||
tags:
|
tags:
|
||||||
- ${DRONE_TAG}
|
- "${DRONE_TAG}"
|
||||||
- latest
|
- latest
|
||||||
dockerfile: ./{{ .Root }}/Dockerfile
|
dockerfile: ./{{ .Root }}/Dockerfile
|
||||||
purge: false
|
purge: false
|
||||||
|
|
Loading…
Reference in New Issue