Skip to content

Commit 4fa5fef

Browse files
committed
matrix ...
1 parent b7ed104 commit 4fa5fef

File tree

1 file changed

+27
-32
lines changed

1 file changed

+27
-32
lines changed

.github/workflows/buildx.yml

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: buildx-qemu-experimental-build
1+
name: buildx-experimental
22

3-
# This workflow is a QEMU-BUILDX based.
3+
# This workflow is QEMU/BUILDX based!
44
# - Not for the platform='linux/amd64' see --> `main.yml' !
55
# - Not for the `*-master``building. Emulation takes a lot of times!
66
#
@@ -33,50 +33,45 @@ jobs:
3333
# allowing fails ..
3434
fail-fast: false
3535
matrix:
36-
# succesful tests matrix:
37-
platforms: ['linux/arm64','linux/arm/v7','linux/arm/v6','linux/386','linux/ppc64le']
38-
postgres: [ 11, 15 ]
36+
# -3.3 debian for linux/arm64
37+
postgres: [11, 12, 13, 14, 15]
3938
postgis: ['3.3']
40-
variant: [alpine]
39+
variant: [default]
40+
platforms: ['linux/arm64']
4141
include:
42-
- postgres: 15
43-
postgis: '3.3'
44-
variant: 'default'
45-
platforms: 'linux/arm64'
46-
- postgres: 15
47-
postgis: '3.3'
48-
variant: 'default'
49-
platforms: 'linux/ppc64le'
50-
5142
- postgres: 10
5243
postgis: '3.2'
53-
variant: 'default'
44+
variant: default
5445
platforms: 'linux/arm64'
55-
- postgres: 10
56-
postgis: '3.2'
57-
variant: 'default'
58-
platforms: 'linux/ppc64le'
59-
- postgres: 10
60-
postgis: '3.2'
46+
47+
# 15-3.3-alpine for every platforms
48+
- postgres: 15
49+
postgis: '3.3'
6150
variant: 'alpine'
6251
platforms: 'linux/arm64'
63-
- postgres: 10
64-
postgis: '3.2'
52+
- postgres: 15
53+
postgis: '3.3'
6554
variant: 'alpine'
6655
platforms: 'linux/arm/v7'
67-
- postgres: 10
68-
postgis: '3.2'
56+
- postgres: 15
57+
postgis: '3.3'
6958
variant: 'alpine'
7059
platforms: 'linux/arm/v6'
71-
- postgres: 10
72-
postgis: '3.2'
60+
- postgres: 15
61+
postgis: '3.3'
7362
variant: 'alpine'
7463
platforms: 'linux/386'
75-
- postgres: 10
76-
postgis: '3.2'
64+
- postgres: 15
65+
postgis: '3.3'
7766
variant: 'alpine'
7867
platforms: 'linux/ppc64le'
7968

69+
# 15-3.3 debian for linux/ppc64le
70+
- postgres: 15
71+
postgis: '3.3'
72+
variant: 'default'
73+
platforms: 'linux/ppc64le'
74+
8075
name: ${{ matrix.platforms }} ${{ matrix.postgres }}-${{ matrix.postgis }} ${{ matrix.variant }}
8176
runs-on: ubuntu-latest
8277

@@ -86,7 +81,7 @@ jobs:
8681
# Not the default (main) workflow!
8782
WORKFLOW: buildx
8883
# Docker image tag postfix
89-
TAG_POSTFIX: '-buildx'
84+
TAG_POSTFIX: '-experimental'
9085

9186
steps:
9287

@@ -105,7 +100,7 @@ jobs:
105100
- name: "debug: docker buildx ls"
106101
run: docker buildx ls
107102

108-
- name: "Inspect the base alpine image postgres:${{ matrix.postgres }}-alpine3.16"
103+
- name: "debug: Inspect the base alpine image postgres:${{ matrix.postgres }}-alpine3.16"
109104
if: ${{ env.VARIANT == 'alpine' }}
110105
run: docker pull --platform=${{ matrix.platforms }} postgres:${{ matrix.postgres }}-alpine3.16 && docker inspect postgres:${{ matrix.postgres }}-alpine3.16
111106
env:

0 commit comments

Comments
 (0)