File tree 1 file changed +29
-4
lines changed
1 file changed +29
-4
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- ' master'
7
7
8
+ env :
9
+ VERSION : ' 15-3.4'
10
+ DOCKER_IMAGE : ' ghcr.io/jobrad-gmbh/postgis:15-3.4-alpine'
11
+
8
12
jobs :
9
13
build-docker :
10
- runs-on : ubuntu-20.04
14
+ strategy :
15
+ matrix :
16
+ include :
17
+ - runner : ubuntu-20.04
18
+ platform : linux/amd64
19
+ suffix : amd64
20
+ - runner : Linux-ARM64-2C-8GB
21
+ platform : linux/arm64
22
+ suffix : arm64
23
+ runs-on : ${{ matrix.runner }}
11
24
steps :
12
25
- uses : actions/checkout@v3
13
26
18
31
uses : docker/build-push-action@v5
19
32
with :
20
33
context : .
21
- file : 13-3.4 /alpine/Dockerfile
22
- platforms : linux/amd64,linux/arm64
34
+ file : ${{ env.VERSION }} /alpine/Dockerfile
35
+ platforms : ${{ matrix.platform }}
23
36
push : true
24
37
tags : |
25
- ghcr.io/jobrad-gmbh/postgis:13-3.4-alpine
38
+ ${{ env.DOCKER_IMAGE }}-${{ matrix.suffix }}
39
+ provenance : false
40
+
41
+ combine-docker :
42
+ runs-on : ubuntu-latest
43
+ steps :
44
+ - uses : int128/docker-manifest-create-action@v2
45
+ with :
46
+ tags : ${{ env.DOCKER_IMAGE }}
47
+ sources : |
48
+ ${{ env.DOCKER_IMAGE }}-amd64
49
+ ${{ env.DOCKER_IMAGE }}-arm64
50
+ push : true
You can’t perform that action at this time.
0 commit comments