File tree Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PR Title and Docker Build Check
2+
3+ on :
4+ pull_request_target :
5+ types :
6+ - opened
7+ - edited
8+ - reopened
9+
10+ jobs :
11+ check-pr-title :
12+ name : Check PR Title Format
13+ runs-on : ubuntu-latest
14+ permissions :
15+ pull-requests : read
16+ steps :
17+ - uses : amannn/action-semantic-pull-request@v5
18+ with :
19+ types : |
20+ feat
21+ fix
22+ chore
23+ docs
24+ refactor
25+ scopes : |
26+ 8.0
27+ 8.1
28+ 8.2
29+ 8.3
30+ 8.4
31+ docs
32+ workflows
33+ requireScope : true
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+
37+ docker :
38+ runs-on : ubuntu-latest
39+
40+ strategy :
41+ matrix :
42+ include :
43+ - tag : " 8.4"
44+ php : " 8.4"
45+ - tag : " 8.3"
46+ php : " 8.3"
47+ - tag : " 8.2"
48+ php : " 8.2"
49+ - tag : " 8.1"
50+ php : " 8.1"
51+ - tag : " 8.0"
52+ php : " 8.0"
53+
54+ steps :
55+ - uses : actions/checkout@v3
56+
57+ - name : Login to DockerHub
58+ uses : docker/login-action@v2
59+ with :
60+ username : ${{ secrets.DOCKERHUB_USERNAME }}
61+ password : ${{ secrets.DOCKERHUB_TOKEN }}
62+
63+ - name : Build and push
64+ uses : docker/build-push-action@v6
65+ with :
66+ push : false
67+ context : ${{ matrix.php }}
68+ tags : ocreaper/php-nvm:${{ matrix.tag }}
You can’t perform that action at this time.
0 commit comments