Cleanbuild on different arch than host machine

I saw in the docs that snapcraft can build in a lxd image using cleanbuild. In my case however we would like to build for a specific architecture. My host machine is amd64, but I need to build for raspberry pi 3 (ARM).

Is there a way to specify to snapcraft to use a specific LXD image to use during cleanbuild?

Ah I just discovered that snapcraft cleanbuild has a --target-arch flag :stuck_out_tongue_closed_eyes: