code: func (e *Engine) BuildRefs(ctx context.Context, name string, tags []string) []string {
  	refs := []string{}
  	for _, tag := range tags {
  		ref := createImageTag(e.config.Docker, name, tag)
  		refs = append(refs, ref)
  	}
  	// use latest
  	if len(refs) == 0 {
  		refs = append(refs, createImageTag(e.config.Docker, name, utils.DefaultVersion))
  	}
  	return refs
  }
docs: // BuildRefs output refs