Skip to content

Commit 917df1e

Browse files
update dockerfile
1 parent 8a319e2 commit 917df1e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/php7.2.34-release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Build PHP 7.2.34 Image
1+
name: Build PHP 7.x Image
22

33
on:
44
workflow_dispatch:
55
inputs:
66
php_version:
7-
description: 'PHP 7.2 Version'
7+
description: 'PHP 7.x Version'
88
default: '7.2.34'
99
required: true
1010
install_ext_version:
@@ -31,15 +31,14 @@ jobs:
3131
username: ${{ secrets.DOCKERHUB_USERNAME }}
3232
password: ${{ secrets.DOCKERHUB_PASSWORD }}
3333

34-
- name: Build PHP-7.2 and Push
34+
- name: Build PHP-7.x and Push
3535
uses: docker/build-push-action@v5
3636
with:
37-
context: php/7.2.34
38-
file: php/7.2.34/Dockerfile
37+
context: php/${{ github.event.inputs.php_version }}
38+
file: php/${{ github.event.inputs.php_version }}/Dockerfile
3939
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
4040
push: true
4141
build-args:
42-
PHP_VERSION=${{ github.event.inputs.php_version }}
4342
INSTALL_EXT_VERSION=${{ github.event.inputs.install_ext_version }}
4443
tags: |
4544
1panel/php:${{ github.event.inputs.php_version }}-fpm

0 commit comments

Comments
 (0)