Fix ruta del deploy
Some checks failed
Optimized Build and Deploy / remote-build-and-deploy (push) Failing after 12s
Some checks failed
Optimized Build and Deploy / remote-build-and-deploy (push) Failing after 12s
This commit is contained in:
@@ -28,10 +28,11 @@ jobs:
|
|||||||
|
|
||||||
# 1. Preparar entorno
|
# 1. Preparar entorno
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
|
REPO_OWNER="dmolinari"
|
||||||
REPO_NAME="gestionintegralweb"
|
REPO_NAME="gestionintegralweb"
|
||||||
GITEA_REPO_PATH="/var/lib/docker/volumes/gitea-stack_gitea-data/_data/git/repositories/$REPO_NAME.git"
|
GITEA_REPO_PATH="/var/lib/docker/volumes/gitea-stack_gitea-data/_data/git/repositories/${REPO_OWNER}/${REPO_NAME}.git"
|
||||||
|
|
||||||
echo "Clonando repositorio..."
|
echo "Clonando repositorio desde: $GITEA_REPO_PATH ..."
|
||||||
git clone "$GITEA_REPO_PATH" "$TEMP_DIR"
|
git clone "$GITEA_REPO_PATH" "$TEMP_DIR"
|
||||||
cd "$TEMP_DIR"
|
cd "$TEMP_DIR"
|
||||||
git checkout "${{ gitea.sha }}"
|
git checkout "${{ gitea.sha }}"
|
||||||
@@ -63,8 +64,8 @@ jobs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "Construyendo imágenes en paralelo..."
|
echo "Construyendo imágenes en paralelo..."
|
||||||
(build_image "." "Backend/GestionIntegral.Api/Dockerfile" "$KANIKO_CACHE_BACKEND" "$REPO_NAME-backend:latest" "backend.tar") &
|
(build_image "." "Backend/GestionIntegral.Api/Dockerfile" "$KANIKO_CACHE_BACKEND" "dmolinari/gestionintegralweb-backend:latest" "backend.tar") &
|
||||||
(build_image "." "Frontend/Dockerfile" "$KANIKO_CACHE_FRONTEND" "$REPO_NAME-frontend:latest" "frontend.tar") &
|
(build_image "." "Frontend/Dockerfile" "$KANIKO_CACHE_FRONTEND" "dmolinari/gestionintegralweb-frontend:latest" "frontend.tar") &
|
||||||
wait
|
wait
|
||||||
|
|
||||||
# 4. Cargar imágenes
|
# 4. Cargar imágenes
|
||||||
|
|||||||
Reference in New Issue
Block a user