Skip to content

Commit

Permalink
Automatically trigger build of powa-archivist-git
Browse files Browse the repository at this point in the history
  • Loading branch information
rjuju committed Jun 15, 2024
1 parent 2c5a258 commit b8d01b6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/powa_archivist_git.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Trigger build and push of powa-archivist-git image

on:
push:
branches: [master, trigger_git_image]

emv:
TARGET_REPO: "powa-podman"

jobs:
trigger_build:
runs_on: ubuntu-latest
steps:
- name: Trigger the powa-archivist-git repository dispatch
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secret.TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository }}/${{ env.TARGET_REPO }}/dispatches \
-d '{"event_type":"powa-archivist-git"}'

0 comments on commit b8d01b6

Please sign in to comment.