func (s *buildTaskCommandBuilderState) addLabelOptions(cb *command.Builder) error {
    for _, label := range s.task.Labels {
        expanded, err := s.env.ExpandString(label)
        if err != nil {
            return err