We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d80e8b3 commit a935b19Copy full SHA for a935b19
.github/workflows/dockerhub-release-matrix.yml
@@ -74,12 +74,7 @@ jobs:
74
75
- name: Generate common-nix.vars.pkr.hcl
76
run: |
77
- # If version contains orioledb-, handle it differently
78
- if [[ "${{ matrix.version }}" == *"orioledb-"* ]]; then
79
- PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release.postgresorioledb-17' ansible/vars.yml)
80
- else
81
- PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.version }}"]' ansible/vars.yml)
82
- fi
+ PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.version }}"]' ansible/vars.yml)
83
PG_VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
84
echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
85
echo "" >> common-nix.vars.pkr.hcl
0 commit comments