fix gitea workflows para nueva estructura del repo
Some checks failed
build-and-deploy / build (push) Failing after 28s
build-and-deploy / deploy (push) Has been skipped

Los workflows ahora usan deploy/Dockerfile correctamente y referencian
el script de inicio desde la carpeta deploy.
This commit is contained in:
2025-08-16 01:21:24 -06:00
parent 70d611e662
commit b2e3bd5a97
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ jobs:
- name: Build and push snatchgame
run: |
docker build -t $REG/snatchgame:${{ github.sha }} -t $REG/snatchgame:latest .
docker build -f deploy/Dockerfile -t $REG/snatchgame:${{ github.sha }} -t $REG/snatchgame:latest .
docker push $REG/snatchgame:${{ github.sha }}
docker push $REG/snatchgame:latest

View File

@@ -23,7 +23,7 @@ jobs:
- name: Build and push snatchgame
run: |
docker build -t $REG/snatchgame:latest .
docker build -f deploy/Dockerfile -t $REG/snatchgame:latest .
docker push $REG/snatchgame:latest
# Deploy a Google Cloud VM

View File

@@ -23,7 +23,7 @@ RUN cd client && npx vite build
RUN npm install -g serve
# Script de inicio
COPY start.sh /app/start.sh
COPY deploy/start.sh /app/start.sh
RUN chmod +x /app/start.sh
# Exponer puertos