File: docker_push.yml

package info (click to toggle)
mobilitydb 1.3.0~alpha-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 118,528 kB
  • sloc: ansic: 166,361; sql: 99,983; xml: 22,860; yacc: 447; makefile: 200; lex: 151; sh: 142
file content (17 lines) | stat: -rw-r--r-- 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
name: Trigger MobilityDB-Docker Build

on:
  push:
    branches:
      - master

jobs:
  trigger-docker-build:
    runs-on: ubuntu-latest
    steps:
      - name: Send repository dispatch event
        run: |
          curl -X POST -H "Accept: application/vnd.github.everest-preview+json" \
          -H "Authorization: token ${{ secrets.DOCKER_WORKFLOW_TOKEN }}" \
          --data '{"event_type": "mobilitydb-master-update"}' \
          https://api.github.com/repos/MobilityDB/MobilityDB-docker/dispatches