frankenwp icon indicating copy to clipboard operation
frankenwp copied to clipboard

Include wordpress version in tags and dynamic wp/php versions

Open mhkarimi1383 opened this issue 1 year ago • 1 comments

Hi

It would be great if we have access to multiple Docker Images with every pair of PHP Versions and WordPress versions (Only supported ones) It's possible using GitHub Actions

I can work on that to contribute if you are interested too

mhkarimi1383 avatar Aug 30 '24 19:08 mhkarimi1383

I guess this is possible, either by adding WORDPRESS_VERSION=php8.3

https://github.com/StephenMiracle/frankenwp/blob/e05bcc3d951dc57636c87befa63357ec1350006d/.github/workflows/php-8_3.yml#L66

https://github.com/StephenMiracle/frankenwp/blob/e05bcc3d951dc57636c87befa63357ec1350006d/.github/workflows/php-8_3.yml#L83

Then for php 8.4, copy that file and replace all occurrences of 8.3 with 8.4


or, you could look into https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations this could mean a single workflow file, with strategies [8.2, 8.3, 8.4].

earthlingdavey avatar Aug 29 '25 07:08 earthlingdavey