tviewer: allow custom delete message #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger OpenSIPS Control Panel Docker Image build and publish | |
on: | |
push: | |
repository_dispatch: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set docker-tag variable | |
run: BRANCH="${GITHUB_REF#refs/heads/}"; echo -e "BRANCH=$BRANCH\nDOCKER_TAG=${BRANCH//master/latest}" >> $GITHUB_ENV | |
- name: Repository Dispatch | |
uses: myrotvorets/trigger-repository-dispatch-action@1.1.0 | |
with: | |
token: ${{ secrets.DOCKER_OPENSIPS_CLI_PAT }} | |
repo: OpenSIPS/docker-opensips-cp | |
type: OpenSIPS CP trigger | |
payload: '{"docker_tag": "${{ env.DOCKER_TAG }}", "branch": "${{ env.BRANCH}}"}' |