Skip to content

Commit

Permalink
chore: just use special key name if present
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed Dec 18, 2024
1 parent cd65a52 commit 66b964c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dockerhub-release-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ jobs:
- name: Get image tag
run: |
nu -c '
let version = "${{ matrix.postgres.version }}"
let version = "${{ matrix.version }}"
let release_key = if ($version | str contains "orioledb") {
$"postgres($version | str replace "-" "")"
$"postgresorioledb-17" # Use exact key name from vars.yml
} else {
$"postgres($version)"
}
let pg_version = (open ansible/vars.yml | get postgres_release | get $release_key | str trim)
$"supabase/postgres:($pg_version)" | save --append $env.GITHUB_ENV
'
'
- id: build
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 66b964c

Please sign in to comment.