Skip to content

Commit

Permalink
Pin composer version (#26)
Browse files Browse the repository at this point in the history
* Add build script to manually build legacy PHP versions
  • Loading branch information
joernott authored Jun 28, 2024
1 parent f4b3bee commit 6772104
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/build-legacy-php-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ on:
php_version:
type: choice
options:
- "7.0"
- "7.1"
- "7.2"
- "7.3"

jobs:
build:
Expand All @@ -19,20 +15,16 @@ jobs:
strategy:
fail-fast: false
matrix:
php_version: ${{ fromJSON(inputs.php_version) }}
php_version: ["7.1"]
include:
- php_version: 7.0
PECL_DEPS: "pecl install xdebug-2.7.2 memcached"
- php_version: 7.1
RUNTIME_PACKAGE_DEPS: "msmtp libfreetype6 libjpeg62-turbo libwebp6 unzip git default-mysql-client sudo rsync liblz4-tool bc libmemcached-dev openssh-client sshpass"
BUILD_PACKAGE_DEPS: "libcurl4-openssl-dev libjpeg-dev libpng-dev libwebp-dev libxml2-dev zlib1g-dev"
PHP_EXT_DEPS: "curl json xml mbstring zip bcmath soap pdo_mysql gd mysqli"
PECL_DEPS: "pecl install xdebug-2.9.8 memcached"
- php_version: 7.2
RUNTIME_PACKAGE_DEPS: "msmtp libfreetype6 libjpeg62-turbo unzip git default-mysql-client sudo rsync liblz4-tool bc iproute2 libmemcached-dev openssh-client sshpass"
BUILD_PACKAGE_DEPS: "libcurl4-openssl-dev libjpeg-dev libpng-dev libxml2-dev zlib1g-dev"
PECL_DEPS: "pecl install xdebug-2.9.8 memcached"
- php_version: 7.3
RUNTIME_PACKAGE_DEPS: "msmtp libfreetype6 libjpeg62-turbo unzip git default-mysql-client sudo rsync liblz4-tool libzip-dev bc iproute2 libmemcached-dev openssh-client sshpass"
BUILD_PACKAGE_DEPS: "libcurl4-openssl-dev libjpeg-dev libpng-dev libxml2-dev"
PECL_DEPS: "pecl install xdebug-2.9.8 memcached"
PHP_MEMORY_LIMIT: "-1"
GD_CONFIG: "--with-jpeg-dir=/usr/local/"
XDEBUG_INI: "xdebug.ini"
steps:
- name: build and push docker images
uses: 'OXID-eSales/github-actions/build_docker@v4'
Expand Down

0 comments on commit 6772104

Please sign in to comment.