Reuse docker image in same workflow

You can use a setup workflow to dynamically generate a config on the fly and utilize any sort of variables you like. Think of it as writing a config that has a full execution environment to prepare the config you actually want to run. You can read more in the docs here, or view this summary with some examples.