File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 7
7
description : ' PHP 7.x Version'
8
8
default : ' 7.2.34'
9
9
required : true
10
+ php_dir :
11
+ description : ' Dockerfile Directory'
12
+ default : ' 7.2.34'
13
+ required : true
14
+ platform :
15
+ description : ' platform'
16
+ default : ' linux/amd64,linux/arm64/v8,linux/arm/v7'
17
+ required : true
10
18
jobs :
11
19
docker :
12
20
runs-on : ubuntu-latest
29
37
- name : Build PHP-7.x and Push
30
38
uses : docker/build-push-action@v5
31
39
with :
32
- context : php/${{ github.event.inputs.php_version }}
33
- file : php/${{ github.event.inputs.php_version }}/Dockerfile
34
- platforms : linux/amd64,linux/arm/v7,linux/arm64/v8
40
+ context : php/${{ github.event.inputs.php_dir }}
41
+ file : php/${{ github.event.inputs.php_dir }}/Dockerfile
42
+ platforms : ${{ github.event.inputs.platform }}
35
43
push : true
36
44
tags : |
37
45
1panel/php:${{ github.event.inputs.php_version }}-fpm
You can’t perform that action at this time.
0 commit comments