Skip to content

Commit 2055d47

Browse files
committed
support reusable builds
1 parent ec3d614 commit 2055d47

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
build:
13-
strategy:
14-
matrix:
15-
pg_version: [14, 17]
12+
build-14:
1613
uses: daemonless/daemonless/.github/workflows/build-app.yml@main
1714
with:
1815
image_name: postgres
19-
image_tag: ${{ matrix.pg_version }}
20-
build_args: PG_VERSION=${{ matrix.pg_version }}
16+
image_tag: "14"
17+
build_args: "PG_VERSION=14"
18+
secrets: inherit
19+
20+
build-17:
21+
uses: daemonless/daemonless/.github/workflows/build-app.yml@main
22+
with:
23+
image_name: postgres
24+
image_tag: "17"
25+
build_args: "PG_VERSION=17"
26+
extra_tags: "latest"
2127
secrets: inherit

0 commit comments

Comments
 (0)