def METHOD_NAME(self, version: AwesomeVersion):
    """Create a dict with Docker build arguments."""
    args = {
        "path": str(self.addon.path_location),
        "tag": f"{self.addon.image}:{version!s}",
        "dockerfile": str(self.dockerfile),
        "pull": True,
        "forcerm": not self.sys_dev,
        "squash": self.squash,
        "platform": MAP_ARCH[self.arch],
        "labels": {
            "io.hass.version": version,
            "io.hass.arch": self.arch,
            "io.hass.type": META_ADDON,
            "io.hass.name": self._fix_label("name"),
            "io.hass.description": self._fix_label("description"),
            **self.additional_labels,
        },
        "buildargs": {
            "BUILD_FROM": self.base_image,
            "BUILD_VERSION": version,
            "BUILD_ARCH": self.sys_arch.default,
            **self.additional_args,
        },
    }
    if self.addon.url:
        args["labels"]["io.hass.url"] = self.addon.url
    return args