Defining which stack to use in the yml file?

That’s not possible yet @bsarrazin, please vote on the related Feature Requests :