Skip to content

Commit fd292c5

Browse files
author
tudor
committed
add gh action buildkite
1 parent 7768942 commit fd292c5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Trigger BuildKite build of Docker image for building PGlite
2+
3+
on:
4+
push:
5+
branches: ['pglite/REL_16_STABLE']
6+
paths:
7+
- pglite/.buildconfig
8+
pull_request:
9+
paths:
10+
- pglite/.buildconfig
11+
12+
jobs:
13+
build:
14+
name: Build Docker image
15+
runs-on: ubuntu-22.04
16+
steps:
17+
- name: Trigger a Buildkite Build on Push using v2.0.0
18+
uses: buildkite/trigger-pipeline-action@v2.0.0
19+
with:
20+
buildkite_api_access_token: ${{ secrets.TRIGGER_BK_BUILD_TOKEN }}
21+
pipeline: 'vaxine/build-pglite-builder-docker-image'
22+
branch: ${{ github.head_ref || github.ref_name }}
23+
commit: HEAD
24+
message: '🚀 Triggered from a GitHub Action'
25+
build_env_vars: '{"TRIGGERED_FROM_GHA": "true"}'

0 commit comments

Comments
 (0)