@@ -46,13 +46,38 @@ jobs:
4646 type=sha,format=short
4747 type=raw,value={{date 'YYYYMMDD'}}
4848
49- - name : Build and push Docker image
49+ - name : Extract metadata for Docker - PostGIS
50+ id : meta-postgis
51+ uses : docker/metadata-action@v5
52+ with :
53+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
54+ tags : |
55+ type=raw,value=latest,suffix=-postgis
56+ type=sha,format=short,suffix=-postgis
57+ type=raw,value={{date 'YYYYMMDD'}},suffix=-postgis
58+
59+ - name : Build and push Docker image - Standard
5060 uses : docker/build-push-action@v5
5161 with :
5262 context : .
63+ build-args : |
64+ BASE_IMAGE_TAG=2.6.0-ppg16.8-postgres
5365 platforms : linux/amd64,linux/arm64
5466 push : true
5567 tags : ${{ steps.meta.outputs.tags }}
5668 labels : ${{ steps.meta.outputs.labels }}
5769 cache-from : type=gha
5870 cache-to : type=gha,mode=max
71+
72+ - name : Build and push Docker image - PostGIS
73+ uses : docker/build-push-action@v5
74+ with :
75+ context : .
76+ build-args : |
77+ BASE_IMAGE_TAG=2.6.0-ppg16.8-postgres-gis3.3.8
78+ platforms : linux/amd64,linux/arm64
79+ push : true
80+ tags : ${{ steps.meta-postgis.outputs.tags }}
81+ labels : ${{ steps.meta-postgis.outputs.labels }}
82+ cache-from : type=gha
83+ cache-to : type=gha,mode=max
0 commit comments