-
Notifications
You must be signed in to change notification settings - Fork 9
107 lines (101 loc) · 3.5 KB
/
docker-image-testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: Build and push pgtuned images
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
build:
strategy:
matrix:
include:
- postgres_version: 16
tags: esgn/pgtuned-testing:16, esgn/pgtuned-testing:latest
- postgres_version: 16
postgis_version: 3
tags: esgn/pgtuned-testing:16-3, esgn/pgtuned-testing:postgis-latest
- postgres_version: 15
tags: esgn/pgtuned-testing:15
- postgres_version: 15
postgis_version: 3
tags: esgn/pgtuned-testing:15-3
- postgres_version: 14
tags: esgn/pgtuned-testing:14
- postgres_version: 14
postgis_version: 3
tags: esgn/pgtuned-testing:14-3
- postgres_version: 13
tags: esgn/pgtuned-testing:13
- postgres_version: 13
postgis_version: 3
tags: esgn/pgtuned-testing:13-3
- postgres_version: 12
tags: esgn/pgtuned-testing:12
- postgres_version: 12
postgis_version: 3
tags: esgn/pgtuned-testing:12-3
- postgres_version: 11-bullseye
tags: esgn/pgtuned-testing:11
- postgres_version: 11-bullseye
postgis_version: 3
tags: esgn/pgtuned-testing:11-3
- postgres_version: 11
postgis_version: 2.5
tags: esgn/pgtuned-testing:11-2.5
- postgres_version: 10-bullseye
tags: esgn/pgtuned-testing:10
- postgres_version: 10-bullseye
postgis_version: 3
tags: esgn/pgtuned-testing:10-3
- postgres_version: 10
postgis_version: 2.5
tags: esgn/pgtuned-testing:10-2.5
- postgres_version: 10
postgis_version: 2.4
tags: esgn/pgtuned-testing:10-2.4
- postgres_version: 9.6-bullseye
tags: esgn/pgtuned-testing:9.6
- postgres_version: 9.6-bullseye
postgis_version: 3
tags: esgn/pgtuned-testing:9.6-3
- postgres_version: 9.6
postgis_version: 2.5
tags: esgn/pgtuned-testing:9.6-2.5
- postgres_version: 9.6
postgis_version: 2.4
tags: esgn/pgtuned-testing:9.6-2.4
- postgres_version: 9.6
postgis_version: 2.3
tags: esgn/pgtuned-testing:9.6-2.3
- postgres_version: 9.5
tags: esgn/pgtuned-testing:9.5
- postgres_version: 9.5
postgis_version: 3
tags: esgn/pgtuned-testing:9.5-3
- postgres_version: 9.5
postgis_version: 2.5
tags: esgn/pgtuned-testing:9.5-2.5
- postgres_version: 9.5
postgis_version: 2.4
tags: esgn/pgtuned-testing:9.5-24
- postgres_version: 9.5
postgis_version: 2.3
tags: esgn/pgtuned-testing:9.5-2.3
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build docker image
uses: docker/[email protected]
with:
context: .
push: true
build-args: |
POSTGRES_VERSION=${{ matrix.postgres_version }}
POSTGIS_VERSION=${{ matrix.postgis_version }}
tags: ${{ matrix.tags }}