fix gitea workflows para nueva estructura del repo
Los workflows ahora usan deploy/Dockerfile correctamente y referencian el script de inicio desde la carpeta deploy.
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push snatchgame
|
- name: Build and push snatchgame
|
||||||
run: |
|
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:${{ github.sha }}
|
||||||
docker push $REG/snatchgame:latest
|
docker push $REG/snatchgame:latest
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push snatchgame
|
- name: Build and push snatchgame
|
||||||
run: |
|
run: |
|
||||||
docker build -t $REG/snatchgame:latest .
|
docker build -f deploy/Dockerfile -t $REG/snatchgame:latest .
|
||||||
docker push $REG/snatchgame:latest
|
docker push $REG/snatchgame:latest
|
||||||
|
|
||||||
# Deploy a Google Cloud VM
|
# Deploy a Google Cloud VM
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ RUN cd client && npx vite build
|
|||||||
RUN npm install -g serve
|
RUN npm install -g serve
|
||||||
|
|
||||||
# Script de inicio
|
# Script de inicio
|
||||||
COPY start.sh /app/start.sh
|
COPY deploy/start.sh /app/start.sh
|
||||||
RUN chmod +x /app/start.sh
|
RUN chmod +x /app/start.sh
|
||||||
|
|
||||||
# Exponer puertos
|
# Exponer puertos
|
||||||
|
|||||||
Reference in New Issue
Block a user