Skip to content

Commit d20d88c

Browse files
committed
Add workflow to trigger a docker build
1 parent f7268e1 commit d20d88c

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Trigger Docker Build
2+
3+
on:
4+
push:
5+
branches:
6+
- 6.x
7+
8+
jobs:
9+
notify:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Trigger Octoleo JoomEngine
14+
run: |
15+
curl -X POST \
16+
-H "Accept: application/vnd.github+json" \
17+
-H "Authorization: Bearer ${{ secrets.REPO_OCTOLEO_TOKEN }}" \
18+
https://api.github.com/repos/octoleo/joomengine/dispatches \
19+
-d '{
20+
"event_type": "pkg-component-builder-updated",
21+
"client_payload": {
22+
"ref": "${{ github.ref_name }}",
23+
"sha": "${{ github.sha }}"
24+
}
25+
}'

0 commit comments

Comments
 (0)