for /f %%i in ('git rev-parse --short HEAD') do set ssha=%%i podman build ./ -t evdevcontainerregistry.azurecr.io/server:test --label "git-commit=%ssha%" FOR /f %%i IN ('az acr login --name evdevcontainerregistry --expose-token --output tsv --query accessToken') do (SET token=%%i) podman login evdevcontainerregistry.azurecr.io -u "00000000-0000-0000-0000-000000000000" -p %token% podman push evdevcontainerregistry.azurecr.io/server:test