/[LeafOK_CVS]/lbbs-combo/.github/workflows/docker-image.yml
ViewVC logotype

Diff of /lbbs-combo/.github/workflows/docker-image.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 by sysadm, Thu Jan 8 12:40:09 2026 UTC Revision 1.3 by sysadm, Fri Jan 9 11:16:28 2026 UTC
# Line 6  on: Line 6  on:
6    pull_request:    pull_request:
7      branches: [ "main" ]      branches: [ "main" ]
8    
9    env:
10      DOCKERHUB_PLATFORMS: linux/amd64,linux/arm64
11      RUN_PLATFORM: linux/amd64
12    
13  jobs:  jobs:
14    
15    build:    build:
# Line 19  jobs: Line 23  jobs:
23          submodules: recursive          submodules: recursive
24          fetch-depth: 0 # fetch all history if the action needs it          fetch-depth: 0 # fetch all history if the action needs it
25    
26      - name: Build and run the stack      - name: Build images
27        # Build images and run containers in detached mode        # Build images and run containers in detached mode
28        run: docker compose up --build -d --wait --wait-timeout 60        run: sh -x build.sh
   
     - 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  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1