Skip to content

Update README.md

Update README.md #34

name: Trigger Docker images Build
## Triggers the build of deployable images for the OE application.
## The actual build happens in a separate, public repository - to avoid wasting action minutes in the private repo
on:
push:
branches:
- "master"
- "main"
- "develop"
- "release/*"
- "bugfix/*"
tags:
- "*"
workflow_dispatch:
jobs:
trigger-build:
# if: ( github.repository == 'openeyes/OpenEyes' || github.repository == 'biskyt/test-action-trigger' )
runs-on: ubuntu-latest
steps:
- name: Resolve ref
uses: rlespinasse/github-slug-action@v4
- name: Emit repository_dispatch
uses: mvasigh/dispatch-action@main
with:
# Requires a personal access token (PAT) stored in the repository
token: ${{ secrets.TKLACCESS_TOKEN }}
repo: external-action-runner
owner: toukanlabs
event_type: "build-oe-image_php8.0_${{ env.GITHUB_REF_SLUG }}"
message: |
{
"GITHUB_REF_NAME": "${{ env.GITHUB_REF_NAME }}",
"GITHUB_REF_SLUG": "${{ env.GITHUB_REF_SLUG }}"
}