Skip to content

Commit

Permalink
chore: extract version
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed Dec 21, 2024
1 parent c619fb8 commit 2ec2b5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dockerhub-release-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ jobs:
| each { |content| $content | lines } # Split into lines
| flatten # Flatten the nested lists
| where { |line| $line != "" } # Filter empty lines
| each { |line| {version: $line} } # Create objects
| each { |line|
# Extract just the version part after the last colon
let version = ($line | parse "supabase/postgres:{version}" | get version.0)
{version: $version}
}
)
}

Expand Down

0 comments on commit 2ec2b5c

Please sign in to comment.