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

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

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

Revision 1.1 by sysadm, Mon Jan 5 12:15:08 2026 UTC Revision 1.4 by sysadm, Sun Jan 18 09:14:05 2026 UTC
# Line 3  name: Docker Image CI Line 3  name: Docker Image CI
3  on:  on:
4    push:    push:
5      branches: [ "main" ]      branches: [ "main" ]
6    pull_request:  
7      branches: [ "main" ]  env:
8      DOCKERHUB_PLATFORMS: linux/amd64,linux/arm64
9      BBSD_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/lbbs-bbsd
10    
11  jobs:  jobs:
12    
# Line 15  jobs: Line 17  jobs:
17      steps:      steps:
18      - uses: actions/checkout@v4      - uses: actions/checkout@v4
19    
20        - name: Set up QEMU
21          uses: docker/setup-qemu-action@v3
22    
23        - name: Set up Docker Buildx
24          uses: docker/setup-buildx-action@v3
25    
26      - name: Build the Docker image      - name: Build the Docker image
27        run: docker build . --file Dockerfile/dockerfile.bbsd --tag lbbs-bbsd:$(date +%s)        id: build-bbsd
28          uses: docker/build-push-action@v5
29          with:
30            platforms: ${{ env.DOCKERHUB_PLATFORMS }}
31            context: .
32            file: Dockerfile/dockerfile.bbsd
33            tags: |
34              ${{ env.BBSD_IMAGE }}:dev
35            labels: ${{ steps.meta.outputs.labels }}


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

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