Skip to content

Commit 2bf8ad5

Browse files
feat: update build php image cnb yaml
1 parent b50c4b2 commit 2bf8ad5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.cnb.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ main:
3636
script: docker login -u ${DOCKER_USER} -p "${DOCKER_PWD}" ${DOCKER_REGISTRY}
3737

3838
- name: docker build and push
39-
script: docker buildx build
39+
script: docker buildx build
40+
--build-arg PHP_VERSION=$PHP_VERSION
4041
--platform $PLATFORM
4142
-t $IMAGE_TAG
4243
-f php/$DIR/Dockerfile

0 commit comments

Comments
 (0)