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 {
|
||||
// 返回 nil 按照 204 处理
|
||||
return nil, nil
|
||||
// 返回空
|
||||
return &drone.Config{
|
||||
Data: "",
|
||||
Kind: "",
|
||||
}, nil
|
||||
}
|
||||
retData := destinationApi + "\n\n" + destinationService
|
||||
n := strings.LastIndex(retData, "---")
|
||||
|
|
|
@ -19,7 +19,7 @@ steps:
|
|||
repo: reg.icechen.cn/{{ .NameSpace }}/service-{{ .Name }}
|
||||
registry: reg.icechen.cn
|
||||
tags:
|
||||
- ${DRONE_TAG}
|
||||
- "${DRONE_TAG}"
|
||||
- latest
|
||||
dockerfile: ./{{ .Root }}/Dockerfile
|
||||
purge: false
|
||||
|
|
Loading…
Reference in New Issue