/[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.6 - (show annotations)
Wed Jan 28 14:39:57 2026 UTC (6 weeks, 6 days ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +7 -6 lines
Content type: application/yaml
Update workflow

1 name: Docker Image CI
2
3 on:
4 push:
5 branches:
6 - "v*.*"
7
8 concurrency:
9 group: ${{ github.workflow }}-${{ github.ref }}
10 cancel-in-progress: true
11
12 env:
13 DOCKERHUB_PLATFORMS: linux/amd64,linux/arm64
14 BBSD_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/lbbs-bbsd
15
16 jobs:
17
18 build:
19
20 runs-on: ubuntu-latest
21
22 steps:
23 - uses: actions/checkout@v4
24
25 - name: Log in to Docker Hub
26 uses: docker/login-action@v3
27 with:
28 username: ${{ secrets.DOCKERHUB_USERNAME }}
29 password: ${{ secrets.DOCKERHUB_TOKEN }}
30
31 - name: Set up QEMU
32 uses: docker/setup-qemu-action@v3
33
34 - name: Set up Docker Buildx
35 uses: docker/setup-buildx-action@v3
36
37 - name: Extract Docker metadata (bbsd)
38 id: meta-bbsd
39 uses: docker/metadata-action@v5
40 with:
41 images: ${{ env.BBSD_IMAGE }}
42
43 - name: Build the Docker image (bbsd)
44 id: build-bbsd
45 uses: docker/build-push-action@v5
46 with:
47 platforms: ${{ env.DOCKERHUB_PLATFORMS }}
48 context: .
49 file: Dockerfile/dockerfile.bbsd
50 tags: |
51 ${{ steps.meta-bbsd.outputs.tags }}
52 labels: ${{ steps.meta-bbsd.outputs.labels }}
53 cache-from: type=gha # Pull cache from GitHub Actions cache
54 cache-to: type=gha,mode=max # Push cache to GitHub Actions cache

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