This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +36
-8
lines changed Expand file tree Collapse file tree 4 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
paths :
8
+ - .github/workflows/php74.yml
9
+ - ' 7.4-dev/**'
10
+ pull_request :
11
+ paths :
12
+ - .github/workflows/php74.yml
8
13
- ' 7.4-dev/**'
9
14
schedule :
10
15
- cron : ' 0 0 1,15 * *'
29
34
with :
30
35
username : ${{ secrets.DOCKERHUB_USERNAME }}
31
36
password : ${{ secrets.DOCKERHUB_TOKEN }}
37
+ if : github.event_name != 'pull_request'
32
38
- run : |
33
39
echo "tag_generic_version=phpdaily/php:7.4" >> $GITHUB_ENV
34
40
echo "tag_short_platform=phpdaily/php:7.4-alpine" >> $GITHUB_ENV
40
46
with :
41
47
context : 7.4-dev/${{ matrix.alpine }}/${{ matrix.sapi }}
42
48
no-cache : true
43
- push : true
49
+ push : ${{ github.event_name != 'pull_request' }}
44
50
tags : |
45
51
phpdaily/php:7.4-${{ matrix.sapi }}-${{ matrix.alpine }}
46
52
${{ env.tag_generic_version }}
@@ -66,14 +72,15 @@ jobs:
66
72
with :
67
73
username : ${{ secrets.DOCKERHUB_USERNAME }}
68
74
password : ${{ secrets.DOCKERHUB_TOKEN }}
75
+ if : github.event_name != 'pull_request'
69
76
- run : echo "tag_generic_platform=phpdaily/php:7.4-${{ matrix.ubuntu }}" >> $GITHUB_ENV
70
77
if : ${{ matrix.sapi == 'cli' }}
71
78
- name : Build
72
79
uses : docker/build-push-action@v2
73
80
with :
74
81
context : 7.4-dev/${{ matrix.ubuntu }}/${{ matrix.sapi }}
75
82
no-cache : true
76
- push : true
83
+ push : ${{ github.event_name != 'pull_request' }}
77
84
tags : |
78
85
phpdaily/php:7.4-${{ matrix.sapi }}-${{ matrix.ubuntu }}
79
86
${{ env.tag_generic_platform }}
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
paths :
8
+ - .github/workflows/php80.yml
9
+ - ' 8.0-dev/**'
10
+ pull_request :
11
+ paths :
12
+ - .github/workflows/php80.yml
8
13
- ' 8.0-dev/**'
9
14
schedule :
10
15
- cron : ' 0 0 * * *'
29
34
with :
30
35
username : ${{ secrets.DOCKERHUB_USERNAME }}
31
36
password : ${{ secrets.DOCKERHUB_TOKEN }}
37
+ if : github.event_name != 'pull_request'
32
38
- run : |
33
39
echo "tag_generic_version=phpdaily/php:8.0" >> $GITHUB_ENV
34
40
echo "tag_short_platform=phpdaily/php:8.0-alpine" >> $GITHUB_ENV
40
46
with :
41
47
context : 8.0-dev/${{ matrix.alpine }}/${{ matrix.sapi }}
42
48
no-cache : true
43
- push : true
49
+ push : ${{ github.event_name != 'pull_request' }}
44
50
tags : |
45
51
phpdaily/php:8.0-${{ matrix.sapi }}-${{ matrix.alpine }}
46
52
${{ env.tag_generic_version }}
@@ -66,14 +72,15 @@ jobs:
66
72
with :
67
73
username : ${{ secrets.DOCKERHUB_USERNAME }}
68
74
password : ${{ secrets.DOCKERHUB_TOKEN }}
75
+ if : github.event_name != 'pull_request'
69
76
- run : echo "tag_generic_platform=phpdaily/php:8.0-${{ matrix.ubuntu }}" >> $GITHUB_ENV
70
77
if : ${{ matrix.sapi == 'cli' }}
71
78
- name : Build
72
79
uses : docker/build-push-action@v2
73
80
with :
74
81
context : 8.0-dev/${{ matrix.ubuntu }}/${{ matrix.sapi }}
75
82
no-cache : true
76
- push : true
83
+ push : ${{ github.event_name != 'pull_request' }}
77
84
tags : |
78
85
phpdaily/php:8.0-${{ matrix.sapi }}-${{ matrix.ubuntu }}
79
86
${{ env.tag_generic_platform }}
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
paths :
8
+ - .github/workflows/php81.yml
9
+ - ' 8.1-dev/**'
10
+ pull_request :
11
+ paths :
12
+ - .github/workflows/php81.yml
8
13
- ' 8.1-dev/**'
9
14
schedule :
10
15
- cron : ' 0 0 * * *'
29
34
with :
30
35
username : ${{ secrets.DOCKERHUB_USERNAME }}
31
36
password : ${{ secrets.DOCKERHUB_TOKEN }}
37
+ if : github.event_name != 'pull_request'
32
38
- run : |
33
39
echo "tag_latest=phpdaily/php:latest" >> $GITHUB_ENV
34
40
echo "tag_generic_version=phpdaily/php:8.1" >> $GITHUB_ENV
41
47
with :
42
48
context : 8.1-dev/${{ matrix.alpine }}/${{ matrix.sapi }}
43
49
no-cache : true
44
- push : true
50
+ push : ${{ github.event_name != 'pull_request' }}
45
51
tags : |
46
52
phpdaily/php:8.1-${{ matrix.sapi }}-${{ matrix.alpine }}
47
53
${{ env.tag_latest }}
@@ -68,14 +74,15 @@ jobs:
68
74
with :
69
75
username : ${{ secrets.DOCKERHUB_USERNAME }}
70
76
password : ${{ secrets.DOCKERHUB_TOKEN }}
77
+ if : github.event_name != 'pull_request'
71
78
- run : echo "tag_generic_platform=phpdaily/php:8.1-${{ matrix.ubuntu }}" >> $GITHUB_ENV
72
79
if : ${{ matrix.sapi == 'cli' }}
73
80
- name : Build
74
81
uses : docker/build-push-action@v2
75
82
with :
76
83
context : 8.1-dev/${{ matrix.ubuntu }}/${{ matrix.sapi }}
77
84
no-cache : true
78
- push : true
85
+ push : ${{ github.event_name != 'pull_request' }}
79
86
tags : |
80
87
phpdaily/php:8.1-${{ matrix.sapi }}-${{ matrix.ubuntu }}
81
88
${{ env.tag_generic_platform }}
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
paths :
8
+ - .github/workflows/php82.yml
9
+ - ' 8.2-dev/**'
10
+ pull_request :
11
+ paths :
12
+ - .github/workflows/php82.yml
8
13
- ' 8.2-dev/**'
9
14
schedule :
10
15
- cron : ' 0 0 * * *'
29
34
with :
30
35
username : ${{ secrets.DOCKERHUB_USERNAME }}
31
36
password : ${{ secrets.DOCKERHUB_TOKEN }}
37
+ if : github.event_name != 'pull_request'
32
38
- run : |
33
39
echo "tag_generic_version=phpdaily/php:8.2" >> $GITHUB_ENV
34
40
echo "tag_short_platform=phpdaily/php:8.2-alpine" >> $GITHUB_ENV
40
46
with :
41
47
context : 8.2-dev/${{ matrix.alpine }}/${{ matrix.sapi }}
42
48
no-cache : true
43
- push : true
49
+ push : ${{ github.event_name != 'pull_request' }}
44
50
tags : |
45
51
phpdaily/php:8.2-${{ matrix.sapi }}-${{ matrix.alpine }}
46
52
${{ env.tag_generic_version }}
@@ -66,14 +72,15 @@ jobs:
66
72
with :
67
73
username : ${{ secrets.DOCKERHUB_USERNAME }}
68
74
password : ${{ secrets.DOCKERHUB_TOKEN }}
75
+ if : github.event_name != 'pull_request'
69
76
- run : echo "tag_generic_platform=phpdaily/php:8.2-${{ matrix.ubuntu }}" >> $GITHUB_ENV
70
77
if : ${{ matrix.sapi == 'cli' }}
71
78
- name : Build
72
79
uses : docker/build-push-action@v2
73
80
with :
74
81
context : 8.2-dev/${{ matrix.ubuntu }}/${{ matrix.sapi }}
75
82
no-cache : true
76
- push : true
83
+ push : ${{ github.event_name != 'pull_request' }}
77
84
tags : |
78
85
phpdaily/php:8.2-${{ matrix.sapi }}-${{ matrix.ubuntu }}
79
86
${{ env.tag_generic_platform }}
You can’t perform that action at this time.
0 commit comments