Build help

Hello

I need help on setting the version number when building the core from source

My build code is:

sudo docker buildx build --platform linux/amd64 -t  core:2024.1.0 --file Dockerfile --build-arg BUILD_FROM=ghcr.io/home-assistant/amd64-homeassistant-base:2023.10.1 --build-arg VERSION=2024.1.0 . --load

it build succesfully

but afte i set the image in ha-cli with ha core options --image core it extract or asumes that it should be named core:2023.10.1 and i see the notification that a newer version is available.

any advice is welcome

Best Regards