@echo off for /f "tokens=*" %%i in ('powershell -Command "Get-Date -Format 'yyyyMMdd'"') do set TAG=%%i echo Building with tag: %TAG% del salvagebot docker rmi vladsimachkov/salvagebot:%TAG% 2>nul docker buildx build --no-cache --progress=plain -t vladsimachkov/salvagebot:%TAG% . docker save vladsimachkov/salvagebot:%TAG% >salvagebot #docker tag vladsimachkov/salvagebot:%TAG% reg.ddl.su/salvagedb/salvagenas_filecheker:%TAG% #docker push reg.ddl.su/salvagedb/salvagenas_filecheker:%TAG%