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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Sat Jan 10 06:53:46 2026 UTC (2 months ago) by sysadm
Branch: MAIN
Changes since 1.2: +19 -1 lines
Content type: application/yaml
Add multi-platform build

1 name: Docker Image CI
2
3 on:
4 push:
5 branches: [ "main" ]
6 pull_request:
7 branches: [ "main" ]
8
9 env:
10 DOCKERHUB_PLATFORMS: linux/amd64,linux/arm64
11 BBSD_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/lbbs-bbsd
12
13 jobs:
14
15 build:
16
17 runs-on: ubuntu-latest
18
19 steps:
20 - uses: actions/checkout@v4
21
22 - name: Set up QEMU
23 uses: docker/setup-qemu-action@v3
24
25 - name: Set up Docker Buildx
26 uses: docker/setup-buildx-action@v3
27
28 - name: Build the Docker image
29 id: build-bbsd
30 uses: docker/build-push-action@v5
31 with:
32 platforms: ${{ env.DOCKERHUB_PLATFORMS }}
33 context: .
34 file: Dockerfile/dockerfile.bbsd
35 tags: |
36 ${{ env.BBSD_IMAGE }}:dev
37 labels: ${{ steps.meta.outputs.labels }}

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