Skip to content

Commit b4a486e

Browse files
feat: update build php image cnb yaml
1 parent 5050722 commit b4a486e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.cnb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ main:
3939
script: docker buildx build
4040
--platform $PLATFORM
4141
-t $IMAGE_TAG
42-
-f php/$PHP_VERSION/Dockerfile
43-
php/$PHP_VERSION/
42+
-f php/$DIR/Dockerfile
43+
php/$DIR/
4444
--push

.cnb/web_trigger.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ branch:
1111
description: "PHP 版本"
1212
default: "7.2.34"
1313
required: true
14+
DIR:
15+
name: "文件目录"
16+
description: "文件目录"
17+
default: "72.34"
18+
required: true
1419
PLATFORM:
1520
name: "编译平台"
1621
description: "编译平台,多个用逗号分隔"

0 commit comments

Comments
 (0)