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

Annotation of /fenglin/.github/workflows/docker-image.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Fri Jan 16 06:48:44 2026 UTC (8 weeks, 4 days ago) by sysadm
Branch: MAIN
Changes since 1.1: +0 -2 lines
Content type: application/yaml
Update docker-image.yml to remove PR trigger
Removed pull request trigger from Docker image workflow.

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

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