aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
blob: e21943b988d8659cf743b09f5703426ded4d0dca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: Trigger Docker Hub build

on:
  release:
    types: [published]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Install HTTPie
      run: sudo apt-get install httpie

    - name: Send request to Docker Hub to trigger a build
      run: >
        http post https://hub.docker.com/api/build/v1/source/83564f19-c21a-4dae-9690-971aee3b2a3b/trigger/${{ env.HUB_TRIGGER_ID }}/call/'