A tag template can be specified to provide custom tagging for builds in Quay. The template is a JSON template expression pulling the information from the build manifest.
The schema for build manifests can be found here