Updated pipeline

This commit is contained in:
Eric Gullickson
2025-12-18 12:17:21 -06:00
parent 72e23a8ba0
commit c2118bc8c1
3 changed files with 21 additions and 9 deletions

View File

@@ -9,6 +9,9 @@ stages:
- verify
variables:
# Use stable clone path instead of runner-specific path
GIT_CLONE_PATH: $CI_BUILDS_DIR/motovaultpro
DEPLOY_PATH: $CI_BUILDS_DIR/motovaultpro
DOCKER_COMPOSE_FILE: docker-compose.yml
DOCKER_COMPOSE_PROD_FILE: docker-compose.prod.yml
@@ -44,9 +47,6 @@ build:
- echo "Building Docker images..."
- echo "=========================================="
- cd "$DEPLOY_PATH"
- echo "Pulling latest code..."
- git fetch origin main
- git reset --hard origin/main
- echo "Building images..."
- docker compose -f $DOCKER_COMPOSE_FILE build --no-cache
- echo "=========================================="