File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 6
6
- develop
7
7
paths :
8
8
- " .github/workflows/package.yml"
9
- - " ansible/vars.yml "
9
+ - " ansible/Dockerfile "
10
10
11
11
env :
12
12
image : ghcr.io/supabase/plv8
@@ -19,17 +19,14 @@ jobs:
19
19
settings :
20
20
runs-on : ubuntu-20.04
21
21
outputs :
22
- image_tag : ${{ steps.plv8_release .outputs.result }}-${{ steps.postgresql_major.outputs.result }}
22
+ image_tag : ${{ steps.meta .outputs.image_tag }}
23
23
steps :
24
24
- uses : actions/checkout@v3
25
- - id : plv8_release
26
- uses : mikefarah/yq@master
27
- with :
28
- cmd : yq '.plv8_release' 'ansible/vars.yml'
29
- - id : postgresql_major
30
- uses : mikefarah/yq@master
31
- with :
32
- cmd : yq '.postgresql_major' 'ansible/vars.yml'
25
+ - id : meta
26
+ run : |
27
+ plv8_release=$(grep -o 'plv8_release=.*' ansible/Dockerfile | head -1 | cut -d "=" -f 2)
28
+ postgresql_major=$(grep -o 'postgresql_major=.*' ansible/Dockerfile | head -1 | cut -d "=" -f 2)
29
+ echo "image_tag=${plv8_release}-pg${postgresql_major}" >> $GITHUB_OUTPUT
33
30
34
31
package_x86 :
35
32
needs : settings
Original file line number Diff line number Diff line change 2
2
ARG postgresql_major=15
3
3
ARG postgresql_release=${postgresql_major}.1
4
4
5
+ # Bump default build arg to build a package from source
6
+ # Bump vars.yml to specify runtime package version
5
7
ARG sfcgal_release=1.3.10
6
8
ARG postgis_release=3.3.2
7
9
ARG pgrouting_release=3.4.1
You can’t perform that action at this time.
0 commit comments