diff --git a/backend/app/core/config.py b/backend/app/core/config.py index 2f9aaf6aa..a9eeb6a1d 100644 --- a/backend/app/core/config.py +++ b/backend/app/core/config.py @@ -5,7 +5,7 @@ from pathlib import Path from pydantic_settings import BaseSettings # Application version - single source of truth -APP_VERSION = "0.1.6b10" +APP_VERSION = "0.1.6b11" GITHUB_REPO = "maziggy/bambuddy" # App directory - where the application is installed (for static files) diff --git a/docker-publish.sh b/docker-publish.sh index 44018676e..e05f00cbe 100755 --- a/docker-publish.sh +++ b/docker-publish.sh @@ -75,9 +75,9 @@ fi echo -e "${GREEN}================================================${NC}" echo "" -# Check if logged in to registry -if ! docker info 2>/dev/null | grep -q "Username"; then - echo -e "${YELLOW}Warning: You may not be logged in to Docker registry${NC}" +# Check if logged in to ghcr.io +if ! grep -q "ghcr.io" ~/.docker/config.json 2>/dev/null; then + echo -e "${YELLOW}Warning: You may not be logged in to ghcr.io${NC}" echo "Run: echo \$GITHUB_TOKEN | docker login ghcr.io -u YOUR_USERNAME --password-stdin" echo "" fi diff --git a/test_docker.sh b/test_docker.sh index 422c2210f..7d447bd0f 100755 --- a/test_docker.sh +++ b/test_docker.sh @@ -121,7 +121,7 @@ if [ "$RUN_BUILD" = true ]; then print_header "Test 1: Docker Build" print_info "Building production Docker image..." - if sudo docker build -t bambuddy:test . --quiet --pull; then + if sudo docker build -t bambuddy:test . --pull --no-cache --progress=plain; then print_success "Production image builds successfully" # Verify image has expected labels/structure @@ -149,7 +149,7 @@ if [ "$RUN_BACKEND" = true ]; then print_header "Test 2: Backend Unit Tests" print_info "Building backend test image..." - if sudo docker compose -f docker-compose.test.yml build backend-test --quiet --pull; then + if sudo docker compose -f docker-compose.test.yml build backend-test --pull --no-cache --progress=plain; then print_info "Running backend tests..." if sudo docker compose -f docker-compose.test.yml run --rm backend-test; then print_success "Backend unit tests passed" @@ -168,7 +168,7 @@ if [ "$RUN_FRONTEND" = true ]; then print_header "Test 3: Frontend Unit Tests" print_info "Building frontend test image..." - if sudo docker compose -f docker-compose.test.yml build frontend-test --quiet --pull; then + if sudo docker compose -f docker-compose.test.yml build frontend-test --pull --no-cache --progress=plain; then print_info "Running frontend tests..." if sudo docker compose -f docker-compose.test.yml run --rm frontend-test; then print_success "Frontend unit tests passed" @@ -188,7 +188,7 @@ if [ "$RUN_INTEGRATION" = true ]; then print_info "Building integration container..." # Build the integration container first to ensure latest code - if ! sudo docker compose -f docker-compose.test.yml build integration --quiet --pull; then + if ! sudo docker compose -f docker-compose.test.yml build integration --pull --no-cache --progress=plain; then print_failure "Integration container build failed" else print_info "Starting application container..."