--- lbbs-combo/.github/workflows/docker-image.yml 2026/01/08 12:40:09 1.2 +++ lbbs-combo/.github/workflows/docker-image.yml 2026/01/09 11:16:28 1.3 @@ -6,6 +6,10 @@ on: pull_request: branches: [ "main" ] +env: + DOCKERHUB_PLATFORMS: linux/amd64,linux/arm64 + RUN_PLATFORM: linux/amd64 + jobs: build: @@ -19,15 +23,6 @@ jobs: submodules: recursive fetch-depth: 0 # fetch all history if the action needs it - - name: Build and run the stack + - name: Build images # Build images and run containers in detached mode - run: docker compose up --build -d --wait --wait-timeout 60 - - - name: Display app version - # Execute tests inside one of the running containers - run: docker compose exec bbsd /usr/local/lbbs/bin/bbsd -v - - - name: Clean up - # Stop and remove all containers, networks, and volumes - run: docker compose down - if: always() # Ensure cleanup runs even if tests fail + run: sh -x build.sh