Skip to content

Commit 450b227

Browse files
authored
Merge pull request #2 from superfly/kyle/pg17
Add PG17 images
2 parents 6356e02 + 585c208 commit 450b227

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/build-and-push.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,26 @@ jobs:
5656
type=sha,format=short,suffix=-postgis
5757
type=raw,value={{date 'YYYYMMDD'}},suffix=-postgis
5858
59+
- name: Extract metadata for Docker - PG17
60+
id: meta-pg17
61+
uses: docker/metadata-action@v5
62+
with:
63+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
64+
tags: |
65+
type=raw,value=latest,suffix=-pg17
66+
type=sha,format=short,suffix=-pg17
67+
type=raw,value={{date 'YYYYMMDD'}},suffix=-pg17
68+
69+
- name: Extract metadata for Docker - PG17 PostGIS
70+
id: meta-pg17-postgis
71+
uses: docker/metadata-action@v5
72+
with:
73+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
74+
tags: |
75+
type=raw,value=latest,suffix=-pg17-postgis
76+
type=sha,format=short,suffix=-pg17-postgis
77+
type=raw,value={{date 'YYYYMMDD'}},suffix=-pg17-postgis
78+
5979
- name: Build and push Docker image - Standard
6080
uses: docker/build-push-action@v5
6181
with:
@@ -81,3 +101,29 @@ jobs:
81101
labels: ${{ steps.meta-postgis.outputs.labels }}
82102
cache-from: type=gha
83103
cache-to: type=gha,mode=max
104+
105+
- name: Build and push Docker image - PG17
106+
uses: docker/build-push-action@v5
107+
with:
108+
context: .
109+
build-args: |
110+
BASE_IMAGE_TAG=2.6.0-ppg17.4-postgres
111+
platforms: linux/amd64,linux/arm64
112+
push: true
113+
tags: ${{ steps.meta-pg17.outputs.tags }}
114+
labels: ${{ steps.meta-pg17.outputs.labels }}
115+
cache-from: type=gha
116+
cache-to: type=gha,mode=max
117+
118+
- name: Build and push Docker image - PG17 PostGIS
119+
uses: docker/build-push-action@v5
120+
with:
121+
context: .
122+
build-args: |
123+
BASE_IMAGE_TAG=2.6.0-ppg17.4-postgres-gis3.3.8
124+
platforms: linux/amd64,linux/arm64
125+
push: true
126+
tags: ${{ steps.meta-pg17-postgis.outputs.tags }}
127+
labels: ${{ steps.meta-pg17-postgis.outputs.labels }}
128+
cache-from: type=gha
129+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)