Skip to content

Commit 2ec2b5c

Browse files
committed
chore: extract version
1 parent c619fb8 commit 2ec2b5c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/dockerhub-release-matrix.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@ jobs:
213213
| each { |content| $content | lines } # Split into lines
214214
| flatten # Flatten the nested lists
215215
| where { |line| $line != "" } # Filter empty lines
216-
| each { |line| {version: $line} } # Create objects
216+
| each { |line|
217+
# Extract just the version part after the last colon
218+
let version = ($line | parse "supabase/postgres:{version}" | get version.0)
219+
{version: $version}
220+
}
217221
)
218222
}
219223

0 commit comments

Comments
 (0)