Gitlab-ci runner specific flags


I have a project that uses multiple runners on various machine architectures. During the build process I want to be able to use a machine specific flag in the build script to mark the compiled outcome as “Machine A” or “Machine B”

Is the easiest way to simply use the runner tags in gitlab-ci, or do the runners have some internal environment flags that can be accessed during the build?