diff --git a/deploy-clock.sh b/deploy-clock.sh index 387badb..8e19c5c 100755 --- a/deploy-clock.sh +++ b/deploy-clock.sh @@ -113,15 +113,10 @@ if [ ! -f "docker-compose.yml" ]; then fail "docker-compose.yml not found in $REPO_DIR" fi -# Run docker-prep to pack @bytelyst/* packages -log "Running docker-prep to pack @bytelyst/* packages..." -if [ -f "scripts/docker-prep.sh" ]; then - chmod +x scripts/docker-prep.sh - ./scripts/docker-prep.sh || fail "docker-prep.sh failed" - ok "docker-prep completed successfully" -else - fail "docker-prep.sh not found in $REPO_DIR/scripts/" -fi +# Pull latest base images +log "Pulling latest base images..." +docker pull bytelyst-common-base-backend:latest || warn "Failed to pull backend base image, using local cache" +docker pull bytelyst-common-base-web:latest || warn "Failed to pull web base image, using local cache" # Build and start services log "Building Docker images..." diff --git a/deploy-notes.sh b/deploy-notes.sh index 58e8728..e5584f5 100755 --- a/deploy-notes.sh +++ b/deploy-notes.sh @@ -113,15 +113,10 @@ if [ ! -f "docker-compose.yml" ]; then fail "docker-compose.yml not found in $REPO_DIR" fi -# Run docker-prep to pack @bytelyst/* packages -log "Running docker-prep to pack @bytelyst/* packages..." -if [ -f "scripts/docker-prep.sh" ]; then - chmod +x scripts/docker-prep.sh - ./scripts/docker-prep.sh || fail "docker-prep.sh failed" - ok "docker-prep completed successfully" -else - fail "docker-prep.sh not found in $REPO_DIR/scripts/" -fi +# Pull latest base images +log "Pulling latest base images..." +docker pull bytelyst-common-base-backend:latest || warn "Failed to pull backend base image, using local cache" +docker pull bytelyst-common-base-web:latest || warn "Failed to pull web base image, using local cache" # Build and start services log "Building Docker images..."