Compare commits
3 Commits
e373348ea6
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e7d64e0094 | |||
| 99f0952378 | |||
| 195143b7ab |
27
frontend/buildFront.ps1
Normal file
27
frontend/buildFront.ps1
Normal file
@@ -0,0 +1,27 @@
|
||||
Clear-Host
|
||||
|
||||
# Pedir version
|
||||
$version = Read-Host "Ingrese el numero de version (ej: 1.0.34)"
|
||||
|
||||
Write-Host "`n=== Construyendo imagen dymai/syntria-frontend:$version ===`n"
|
||||
docker build -f Dockerfile.prod -t "dymai/syntria-frontend:$version" .
|
||||
|
||||
# Si build falla, no continuar
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "`nERROR: El build fallo. No se realizara el push." -ForegroundColor Red
|
||||
pause
|
||||
exit 1
|
||||
}
|
||||
|
||||
Write-Host "`n=== Subiendo imagen a Docker Hub ===`n"
|
||||
docker push "dymai/syntria-frontend:$version"
|
||||
|
||||
# Si push falla, mostrar error
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "`nERROR: El push fallo." -ForegroundColor Red
|
||||
pause
|
||||
exit 1
|
||||
}
|
||||
|
||||
Write-Host "`n=== Proceso completado exitosamente ===`n" -ForegroundColor Green
|
||||
pause
|
||||
@@ -8,7 +8,7 @@ export default function Sidebar({ user, activeTab, setActiveTab, sidebarOpen, se
|
||||
<div className="w-8 h-8 bg-gradient-to-br from-indigo-500 to-purple-500 rounded-lg flex items-center justify-center">
|
||||
<span className="text-white font-bold text-lg">S</span>
|
||||
</div>
|
||||
<h2 className="text-xl font-bold bg-gradient-to-r from-indigo-400 to-purple-400 bg-clip-text text-transparent">Syntria</h2>
|
||||
<h2 className="text-xl font-bold bg-gradient-to-r from-indigo-400 to-purple-400 bg-clip-text text-transparent">Ayutec</h2>
|
||||
</div>
|
||||
)}
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user