File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,17 @@ jobs:
121121 versions_array+=","
122122 tags_array+=","
123123 fi
124-
125- # Download and read artifacts
126- mkdir -p ./download
127- echo "Processing version $version"
128-
129- tag=$(cat ./versions/tag.txt)
124+
125+ # Get version from vars.yml using same logic as common-nix.vars.pkr.hcl
126+ if [[ "$version" == "orioledb-17" ]]; then
127+ PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release.postgresorioledb-17' ansible/vars.yml)
128+ else
129+ PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'$version'"]' ansible/vars.yml)
130+ fi
131+ PG_VERSION=$(echo $PG_VERSION | tr -d '"')
130132
131133 versions_array+="\"$version\""
132- tags_array+="\"$tag \""
134+ tags_array+="\"supabase/postgres:$PG_VERSION \""
133135 done
134136
135137 versions_array+="]"
You can’t perform that action at this time.
0 commit comments