Skip to content

Commit b28ea7a

Browse files
committed
Add more PHP versions
1 parent f444fc6 commit b28ea7a

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.github/workflows/docker-hub.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ jobs:
1414
- { php: "7.2.34", os: "3.12" }
1515
- { php: "7.3.29", os: "3.14" }
1616
- { php: "7.4.22", os: "3.14" }
17-
- { php: "8.0.9", os: "3.14" }
17+
- { php: "8.0.19", os: "3.14" }
18+
- { php: "8.1.16", os: "3.16" }
19+
- { php: "8.2.3", os: "3.16" }
1820

1921
steps:
2022
# Use metadata action to get `major.minor` PHP version
2123
- name: Get base PHP Version
2224
id: phpver
23-
uses: docker/metadata-action@v3
25+
uses: docker/metadata-action@v4
2426
with:
2527
images: ${{ github.repository }}
2628
flavor: 'latest=false'
@@ -29,7 +31,7 @@ jobs:
2931
# Compute tags for our patch version to go with
3032
- name: Calculate Tags
3133
id: meta
32-
uses: docker/metadata-action@v3
34+
uses: docker/metadata-action@v4
3335
with:
3436
images: ${{ github.repository }}
3537
flavor: 'latest=false'
@@ -44,14 +46,14 @@ jobs:
4446
type=raw,value=${{ steps.phpver.outputs.version }}
4547
4648
- name: Login to DockerHub
47-
uses: docker/login-action@v1
49+
uses: docker/login-action@v2
4850
with:
4951
username: ${{ secrets.DOCKERHUB_USERNAME }}
5052
password: ${{ secrets.DOCKERHUB_TOKEN }}
5153

5254
- name: Build and push
5355
id: build
54-
uses: docker/build-push-action@v2
56+
uses: docker/build-push-action@v4
5557
with:
5658
push: true
5759
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/update-description.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010

1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v3
1414

1515
- name: Trim README
1616
run: |
1717
sed -i -e 's~(#~(https://github.com/dirtsimple/php-server/#~; /tocstop/,/^#\+ Version Info/{/^#\+ Version Info/!d}' README.md
1818
1919
- name: Update repo description
20-
uses: peter-evans/dockerhub-description@v2
20+
uses: peter-evans/dockerhub-description@v3
2121
with:
2222
username: ${{ secrets.DOCKERHUB_USERNAME }}
2323
password: ${{ secrets.DOCKERHUB_PASSWORD }}

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ Also note that although you *can* just specify a PHP version, major releases of
311311

312312
### Major Versions
313313

314-
* 3.x - Alpine 3.10-3.14, Composer 2, PHP 7.1 through 8.0, dropped prestissimo from default `GLOBAL_REQUIRE`, added `--optimize-autoloader` to default `COMPOSER_OPTIONS`
314+
* 3.x - Alpine 3.10-3.16, Composer 2, PHP 7.1 through 8.2, dropped prestissimo from default `GLOBAL_REQUIRE`, added `--optimize-autoloader` to default `COMPOSER_OPTIONS`
315315
* 2.x - Alpine 3.9, Composer 1, PHP 7.1 through 7.3, build extensions using [mlocati/docker-php-extension-installer](https://github.com/mlocati/docker-php-extension-installer)
316316
* 1.4.x - Alpine 3.9, Composer 1, PHP 7.1 and 7.2, image based on Docker php-fpm-alpine, scripted extension builds
317317
* 1.3.x and older - Alpine 3.6, PHP 7.1 only, implemented as an overlay on the nginx-php-fpm image
@@ -320,7 +320,9 @@ Also note that although you *can* just specify a PHP version, major releases of
320320

321321
| Tags | PHP | nginx | mod lua | alpine | Notes |
322322
| ------------- | ------ | ------ | ------- | ------ | ----- |
323-
| 8.0-3.0.x | 8.0.9 | 1.20.1 | 0.10.19 | 3.14 |Composer 2|
323+
| 8.2-3.0.x | 8.2.3 | 1.22.1 | 0.10.21 | 3.16 |Composer 2|
324+
| 8.1-3.0.x | 8.1.16 | 1.22.1 | 0.10.21 | 3.16 ||
325+
| 8.0-3.0.x | 8.0.19 | 1.20.1 | 0.10.19 | 3.14 ||
324326
| 7.4-3.0.x | 7.4.22 | 1.20.1 | 0.10.19 | 3.14 ||
325327
| 7.3-3.0.x | 7.3.29 | 1.20.1 | 0.10.19 | 3.14 ||
326328
| 7.2-3.0.x | 7.2.34 | 1.18.0 | 0.10.15 | 3.12 ||

0 commit comments

Comments
 (0)