Installer workflow is done - Docker container is working fine

This commit is contained in:
2026-07-26 23:37:23 +05:30
parent 3cf5c83264
commit d684931bc5
1313 changed files with 778 additions and 408752 deletions

View File

@@ -0,0 +1,40 @@
@echo off
setlocal
set IMAGE_NAME=hub.technobeesolutions.in/matrix-onprem
set IMAGE_TAG=1.0.0
echo ========================================
echo Building WAR...
echo ========================================
call mvn clean package -DskipTests
if errorlevel 1 goto :error
echo ========================================
echo Building Docker Image...
echo ========================================
docker build -t %IMAGE_NAME%:%IMAGE_TAG% .
if errorlevel 1 goto :error
echo ========================================
echo Pushing Image...
echo ========================================
docker push %IMAGE_NAME%:%IMAGE_TAG%
if errorlevel 1 goto :error
echo ========================================
echo Verifying Image...
echo ========================================
docker pull %IMAGE_NAME%:%IMAGE_TAG%
if errorlevel 1 goto :error
echo ========================================
echo SUCCESS!
echo Image: %IMAGE_NAME%:%IMAGE_TAG%
echo ========================================
goto :eof
:error
echo.
echo Build failed!
exit /b 1