use basename instead of type for pipeline tag