Use unique name for reusable workflow (#2015)
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
This commit is contained in:
parent
55b09a04cd
commit
1c16fd1967
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ func (rc *RunContext) String() string {
|
||||||
if rc.caller != nil {
|
if rc.caller != nil {
|
||||||
// prefix the reusable workflow with the caller job
|
// prefix the reusable workflow with the caller job
|
||||||
// this is required to create unique container names
|
// this is required to create unique container names
|
||||||
name = fmt.Sprintf("%s/%s", rc.caller.runContext.Run.JobID, name)
|
name = fmt.Sprintf("%s/%s", rc.caller.runContext.Name, name)
|
||||||
}
|
}
|
||||||
return name
|
return name
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue