/[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.5 by sysadm, Sat Jan 24 15:26:22 2026 UTC Revision 1.6 by sysadm, Wed Jan 28 14:39:57 2026 UTC
# Line 2  name: Docker Image CI Line 2  name: Docker Image CI
2    
3  on:  on:
4    push:    push:
5      branches: [ "main" ]      branches:
6          - "v*.*"
7    
8  concurrency:  concurrency:
9    group: ${{ github.workflow }}-${{ github.ref }}    group: ${{ github.workflow }}-${{ github.ref }}
# Line 33  jobs: Line 34  jobs:
34      - name: Set up Docker Buildx      - name: Set up Docker Buildx
35        uses: docker/setup-buildx-action@v3        uses: docker/setup-buildx-action@v3
36                        
37      - name: Extract Docker metadata      - name: Extract Docker metadata (bbsd)
38        id: meta        id: meta-bbsd
39        uses: docker/metadata-action@v5        uses: docker/metadata-action@v5
40        with:        with:
41          images: ${{ env.BBSD_IMAGE }}          images: ${{ env.BBSD_IMAGE }}
42                        
43      - name: Build the Docker image      - name: Build the Docker image (bbsd)
44        id: build-bbsd        id: build-bbsd
45        uses: docker/build-push-action@v5        uses: docker/build-push-action@v5
46        with:        with:
# Line 47  jobs: Line 48  jobs:
48          context: .          context: .
49          file: Dockerfile/dockerfile.bbsd          file: Dockerfile/dockerfile.bbsd
50          tags: |          tags: |
51            ${{ steps.meta.outputs.tags }}            ${{ steps.meta-bbsd.outputs.tags }}
52          labels: ${{ steps.meta.outputs.labels }}          labels: ${{ steps.meta-bbsd.outputs.labels }}
53          cache-from: type=gha # Pull cache from GitHub Actions cache          cache-from: type=gha # Pull cache from GitHub Actions cache
54          cache-to: type=gha,mode=max # Push cache to GitHub Actions cache          cache-to: type=gha,mode=max # Push cache to GitHub Actions cache


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

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