Skip to content

Commit bd0b747

Browse files
committed
feat(ci): publish both builder images
1 parent ad56252 commit bd0b747

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci-builder-image.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ description: |
44
Build (and push) the CI builder image
55
66
on:
7+
pull_request:
8+
79
workflow_dispatch:
810
inputs:
911
cargo-pgrx-version:
@@ -21,11 +23,16 @@ permissions:
2123
contents: none
2224

2325
jobs:
24-
build-and-push-builder-image:
26+
builder-image:
2527
runs-on: ubuntu-latest
2628
permissions:
2729
contents: read
2830
packages: write
31+
strategy:
32+
matrix:
33+
libc:
34+
- gnu
35+
- musl
2936
steps:
3037
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3138
- uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
@@ -39,10 +46,13 @@ jobs:
3946

4047
- name: Build builder image
4148
env:
49+
BUILDER_TYPE: ${{ matrix.libc }}
4250
BUILDER_IMAGE_ARG_CARGO_PGRX_VERSION: ${{ inputs.cargo-pgrx-version || '0.12.5' }}
4351
run: |
4452
just build-builder-image
4553
4654
- name: Push builder image
55+
env:
56+
BUILDER_TYPE: ${{ matrix.libc }}
4757
run: |
4858
just push-builder-image

0 commit comments

Comments
 (0)