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 77 description : ' PHP 7.x Version'
88 default : ' 7.2.34'
99 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
1018jobs :
1119 docker :
1220 runs-on : ubuntu-latest
2937 - name : Build PHP-7.x and Push
3038 uses : docker/build-push-action@v5
3139 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 }}
3543 push : true
3644 tags : |
3745 1panel/php:${{ github.event.inputs.php_version }}-fpm
You can’t perform that action at this time.
0 commit comments