Prod_Build.bat 319 B

1234567
  1. for /f %%i in ('git rev-parse --short HEAD') do set ssha=%%i
  2. FOR /f %%i IN ( version.txt ) DO set version=%%i
  3. git push
  4. git tag -a %version%
  5. git push --follow-tags
  6. docker build ./ -t evdevcontainerregistry.azurecr.io/task:%version% --label "git-commit=%ssha%"
  7. docker push evdevcontainerregistry.azurecr.io/task:%version%