Auto-build based on folder structure AND tags

Hi Everybody,

I apologize if this has been asked, but a search didn’t reveal anything.

I’ve managed to grasp the basics of automated builds with github push based on either the branch or a specific tag, but now I’m trying to achieve something similar to what is seen on many official images “app/feature:version”

So taking ubuntu as an example, we can choose version and then another tag.

so ubuntu:17.10 or ubuntu:artful-20180123 etc.

I’ve created a structure similar to theirs with each app/feature in a separate folder with it’s own Dockerfile and managed to get that to build, but how to I also use the tags feature of auto-build for version. Is it possible (better question am I making any sense)

Thanks in advance,
Pedro