File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 89
89
90
90
- uses : docker/build-push-action@v5
91
91
with :
92
- tags : quay.io/friendsofshopware/devcontainer:${{ matrix.swVersion }}-${{ matrix.phpVersion }}
92
+ tags : quay.io/friendsofshopware/devcontainer:${{ matrix.tag }}-${{ matrix.phpVersion }}
93
93
platforms : linux/amd64,linux/arm64
94
94
file : Dockerfile
95
95
build-args : |
Original file line number Diff line number Diff line change 55
55
php-${PHP_VERSION}-opcache \
56
56
php-${PHP_VERSION}-zstd \
57
57
php-${PHP_VERSION}-redis \
58
- php-${PHP_VERSION}-imagick \
59
58
openssl-config \
60
59
mariadb-11.2 \
61
60
jq
Original file line number Diff line number Diff line change 1
1
const swToPHP = await ( await fetch ( 'https://raw.githubusercontent.com/FriendsOfShopware/shopware-static-data/main/data/all-supported-php-versions-by-shopware-version.json' ) ) . json ( ) ;
2
2
3
3
const matrix = [ ] ;
4
+ const alreadyAddedVersion = new Set ( ) ;
4
5
5
- for ( const swVersion of Object . keys ( swToPHP ) ) {
6
+ for ( const swVersion of Object . keys ( swToPHP ) . reverse ( ) ) {
6
7
if ( swVersion . indexOf ( '6.6' ) !== 0 || swVersion . indexOf ( 'RC' ) !== - 1 ) {
7
8
continue ;
8
9
}
9
10
11
+ const patchVersion = swVersion . split ( '.' ) . slice ( 0 , 3 ) . join ( '.' )
12
+
13
+ if ( alreadyAddedVersion . has ( patchVersion ) ) {
14
+ continue ;
15
+ }
16
+
17
+ alreadyAddedVersion . add ( patchVersion ) ;
18
+
10
19
for ( const phpVersion of swToPHP [ swVersion ] ) {
11
20
matrix . push ( {
21
+ tag : patchVersion ,
12
22
swVersion,
13
23
phpVersion,
14
24
} ) ;
You can’t perform that action at this time.
0 commit comments