Skip to content

Commit 78cb6b0

Browse files
authored
Merge pull request #240 from stellarwp/feat/revert-php8.4-support
2 parents b188a36 + 8b0dff2 commit 78cb6b0

File tree

4 files changed

+41
-45
lines changed

4 files changed

+41
-45
lines changed

.github/workflows/publish-slic-docker-image.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
- "[0-9]+.[0-9]+.[0-9]+"
7+
- '[0-9]+.[0-9]+.[0-9]+'
88
release:
99
types: [published]
1010

@@ -17,8 +17,8 @@ jobs:
1717
strategy:
1818
matrix:
1919
# The php_version is the docker tag from https://hub.docker.com/_/php/tags
20-
php_version: ["7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
21-
arch: ["amd64", "arm64"]
20+
php_version: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
21+
arch: [ 'amd64', 'arm64' ]
2222
# Add runner and platform info for each architecture
2323
include:
2424
- arch: amd64
@@ -86,7 +86,7 @@ jobs:
8686
packages: write
8787
strategy:
8888
matrix:
89-
php_version: ["7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]
89+
php_version: [ '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
9090
steps:
9191
- name: Log in to the Container registry
9292
uses: docker/login-action@v3
@@ -105,9 +105,9 @@ jobs:
105105
else
106106
TAG="${GITHUB_REF#refs/heads/}"
107107
fi
108-
108+
109109
IMAGE_BASE="ghcr.io/${{ github.repository }}-php${{ matrix.php_version }}"
110-
110+
111111
# Create multi-arch manifest
112112
docker buildx imagetools create -t "${IMAGE_BASE}:${TAG}" \
113113
"${IMAGE_BASE}:${TAG}-amd64" \

.github/workflows/publish-wordpress-docker-image.yml

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
- "[0-9]+.[0-9]+.[0-9]+"
7+
- '[0-9]+.[0-9]+.[0-9]+'
88
release:
99
types: [published]
1010

@@ -18,66 +18,66 @@ jobs:
1818
matrix:
1919
include:
2020
# WordPress 6.2 with PHP 8.0, 8.1, 8.2 - both architectures
21-
- wp_version: "6.2"
22-
php_version: "8.0"
21+
- wp_version: '6.2'
22+
php_version: '8.0'
2323
runner: ubuntu-latest
2424
platform: linux/amd64
2525
arch: amd64
26-
- wp_version: "6.2"
27-
php_version: "8.0"
26+
- wp_version: '6.2'
27+
php_version: '8.0'
2828
runner: ubuntu-24.04-arm
2929
platform: linux/arm64
3030
arch: arm64
31-
- wp_version: "6.2"
32-
php_version: "8.1"
31+
- wp_version: '6.2'
32+
php_version: '8.1'
3333
runner: ubuntu-latest
3434
platform: linux/amd64
3535
arch: amd64
36-
- wp_version: "6.2"
37-
php_version: "8.1"
36+
- wp_version: '6.2'
37+
php_version: '8.1'
3838
runner: ubuntu-24.04-arm
3939
platform: linux/arm64
4040
arch: arm64
41-
- wp_version: "6.2"
42-
php_version: "8.2"
41+
- wp_version: '6.2'
42+
php_version: '8.2'
4343
runner: ubuntu-latest
4444
platform: linux/amd64
4545
arch: amd64
46-
- wp_version: "6.2"
47-
php_version: "8.2"
46+
- wp_version: '6.2'
47+
php_version: '8.2'
4848
runner: ubuntu-24.04-arm
4949
platform: linux/arm64
5050
arch: arm64
5151
# WordPress 5.9 with PHP 7.3 - both architectures
52-
- wp_version: "5.9"
53-
php_version: "7.3"
52+
- wp_version: '5.9'
53+
php_version: '7.3'
5454
runner: ubuntu-latest
5555
platform: linux/amd64
5656
arch: amd64
57-
- wp_version: "5.9"
58-
php_version: "7.3"
57+
- wp_version: '5.9'
58+
php_version: '7.3'
5959
runner: ubuntu-24.04-arm
6060
platform: linux/arm64
6161
arch: arm64
6262
# WordPress 6.1.1 with PHP 7.4 - both architectures
63-
- wp_version: "6.1.1"
64-
php_version: "7.4"
63+
- wp_version: '6.1.1'
64+
php_version: '7.4'
6565
runner: ubuntu-latest
6666
platform: linux/amd64
6767
arch: amd64
68-
- wp_version: "6.1.1"
69-
php_version: "7.4"
68+
- wp_version: '6.1.1'
69+
php_version: '7.4'
7070
runner: ubuntu-24.04-arm
7171
platform: linux/arm64
7272
arch: arm64
7373
# WordPress 6.5 with PHP 8.3 - both architectures
74-
- wp_version: "6.5"
75-
php_version: "8.3"
74+
- wp_version: '6.5'
75+
php_version: '8.3'
7676
runner: ubuntu-latest
7777
platform: linux/amd64
7878
arch: amd64
79-
- wp_version: "6.5"
80-
php_version: "8.3"
79+
- wp_version: '6.5'
80+
php_version: '8.3'
8181
runner: ubuntu-24.04-arm
8282
platform: linux/arm64
8383
arch: arm64
@@ -141,21 +141,20 @@ jobs:
141141
matrix:
142142
# Match the unique combinations from the build matrix
143143
include:
144-
- php_version: "8.0"
145-
- php_version: "8.1"
146-
- php_version: "8.2"
147-
- php_version: "7.3"
148-
- php_version: "7.4"
149-
- php_version: "8.3"
150-
- php_version: "8.4"
144+
- php_version: '8.0'
145+
- php_version: '8.1'
146+
- php_version: '8.2'
147+
- php_version: '7.3'
148+
- php_version: '7.4'
149+
- php_version: '8.3'
151150
steps:
152151
- name: Log in to the Container registry
153152
uses: docker/login-action@v3
154153
with:
155154
registry: ghcr.io
156155
username: ${{ github.actor }}
157156
password: ${{ secrets.GITHUB_TOKEN }}
158-
157+
159158
- name: Create and push multi-arch manifest
160159
run: |
161160
# Determine the tag based on the event type
@@ -166,9 +165,9 @@ jobs:
166165
else
167166
TAG="${GITHUB_REF#refs/heads/}"
168167
fi
169-
168+
170169
IMAGE_BASE="ghcr.io/${{ github.repository }}-wordpress-php${{ matrix.php_version }}"
171-
170+
172171
# Create multi-arch manifest
173172
docker buildx imagetools create -t "${IMAGE_BASE}:${TAG}" \
174173
"${IMAGE_BASE}:${TAG}-amd64" \

changelog.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
# [2.1.8] - 2026-03-09
8-
- Added - PHP 8.4 docker images.
9-
107
# [2.1.7] - 2026-02-02
118
- Fixed - Preserve staged PHP versions (from `slic php-version set X.Y --skip-rebuild`) when a project's `.env.slic.local` file would otherwise override them. Staged versions now correctly take precedence over project-specific PHP version overrides.
129

slic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
] );
5555

5656
$cli_name = 'slic';
57-
const CLI_VERSION = '2.1.8';
57+
const CLI_VERSION = '2.1.7';
5858

5959
// If the run-time option `-q`, for "quiet", is specified, then do not print the header.
6060
if ( in_array( '-q', $argv, true ) || ( in_array( 'exec', $argv, true ) && ! in_array( 'help', $argv, true ) ) ) {

0 commit comments

Comments
 (0)