Can I use default env variables in codespaces devcontainer.json?

I’m trying to understand what default variables are available for use in a devcontainer.json file used to initialize a GitHub Codespaces environment.

For example: in specifying a container image, I want to reference the name of the git branch that initiated the Codespace creation. Something like this:

"image": "ghcr.io/my-org/my-repo:$GITHUB_BRANCH",

or maybe

"image": "ghcr.io/my-org/my-repo:${localEnv:GITHUB_BRANCH}",

GitHub Actions provides this list of default env variables and how to use them. Is there anything similar for Codespaces and devcontainer.json?