diff --git a/templates/classic-repository.json b/templates/classic-repository.json index 0f17a21..31d0705 100644 --- a/templates/classic-repository.json +++ b/templates/classic-repository.json @@ -95,6 +95,10 @@ "description": "The version of the PHP builder.", "value": "7.0", "required": true + }, + { + "name": "WORDPRESS_INSTALL_VERSION", + "description": "The version of the Wordpress, for example, \"4.9\" or \"4.9.12\". Leave blank for the latest." } ], "objects": [ @@ -139,7 +143,13 @@ "kind": "ImageStreamTag", "namespace": "openshift", "name": "php:${PHP_VERSION}" - } + }, + "env": [ + { + "name": "WORDPRESS_INSTALL_VERSION", + "value": "${WORDPRESS_INSTALL_VERSION}" + } + ] } }, "output": { diff --git a/templates/classic-standalone.json b/templates/classic-standalone.json index 03fd7d9..77a82b1 100644 --- a/templates/classic-standalone.json +++ b/templates/classic-standalone.json @@ -83,6 +83,10 @@ "description": "The version of the PHP builder.", "value": "7.0", "required": true + }, + { + "name": "WORDPRESS_INSTALL_VERSION", + "description": "The version of the Wordpress, for example, \"4.9\" or \"4.9.12\". Leave blank for the latest." } ], "objects": [ @@ -127,7 +131,13 @@ "kind": "ImageStreamTag", "namespace": "openshift", "name": "php:${PHP_VERSION}" - } + }, + "env": [ + { + "name": "WORDPRESS_INSTALL_VERSION", + "value": "${WORDPRESS_INSTALL_VERSION}" + } + ] } }, "output": { diff --git a/templates/testing-repository.json b/templates/testing-repository.json index 4d44017..3228b40 100644 --- a/templates/testing-repository.json +++ b/templates/testing-repository.json @@ -77,6 +77,10 @@ "description": "The version of the PHP builder.", "value": "7.0", "required": true + }, + { + "name": "WORDPRESS_INSTALL_VERSION", + "description": "The version of the Wordpress, for example, \"4.9\" or \"4.9.12\". Leave blank for the latest." } ], "objects": [ @@ -121,7 +125,13 @@ "kind": "ImageStreamTag", "namespace": "openshift", "name": "php:${PHP_VERSION}" - } + }, + "env": [ + { + "name": "WORDPRESS_INSTALL_VERSION", + "value": "${WORDPRESS_INSTALL_VERSION}" + } + ] } }, "output": { diff --git a/templates/testing-standalone.json b/templates/testing-standalone.json index e938a6c..eeb7f50 100644 --- a/templates/testing-standalone.json +++ b/templates/testing-standalone.json @@ -65,6 +65,10 @@ "description": "The version of the PHP builder.", "value": "7.0", "required": true + }, + { + "name": "WORDPRESS_INSTALL_VERSION", + "description": "The version of the Wordpress, for example, \"4.9\" or \"4.9.12\". Leave blank for the latest." } ], "objects": [ @@ -109,7 +113,13 @@ "kind": "ImageStreamTag", "namespace": "openshift", "name": "php:${PHP_VERSION}" - } + }, + "env": [ + { + "name": "WORDPRESS_INSTALL_VERSION", + "value": "${WORDPRESS_INSTALL_VERSION}" + } + ] } }, "output": {