File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -212,14 +212,26 @@ jobs:
212212 needs : [build, merge_manifest]
213213 strategy :
214214 matrix :
215- version : ${{ fromJson(needs.build.outputs.versions ) }}
215+ image_tag : ${{ fromJson(needs.build.outputs.image_tags ) }}
216216 runs-on : ubuntu-latest
217217 outputs :
218- version : ${{ steps.get_version.outputs.version }}
218+ version : ${{ steps.get_version.outputs.version }}
219219 steps :
220+ - uses : actions/checkout@v3
221+
222+ - uses : DeterminateSystems/nix-installer-action@main
223+
220224 - id : get_version
221225 run : |
222- echo "version=${{ matrix.version }}" >> $GITHUB_OUTPUT
226+ # Get the full version from vars.yml for orioledb
227+ if [[ "${{ matrix.image_tag }}" == *"orioledb"* ]]; then
228+ VERSION=$(nix run nixpkgs#yq -- '.postgres_release.postgresorioledb-17' ansible/vars.yml)
229+ VERSION=$(echo $VERSION | tr -d '"') # Remove quotes
230+ else
231+ # For regular postgres, get version from the image tag
232+ VERSION=$(echo "${{ matrix.image_tag }}" | sed 's|supabase/postgres:||')
233+ fi
234+ echo "version=$VERSION" >> $GITHUB_OUTPUT
223235
224236 publish :
225237 needs : get_publish_version
You can’t perform that action at this time.
0 commit comments