diff options
author | Bennett <hello@vantezzen.io> | 2020-03-10 15:07:49 +0100 |
---|---|---|
committer | Bennett <hello@vantezzen.io> | 2020-03-10 15:07:49 +0100 |
commit | e18ec6412a76556d71f5554f268d110e65921c63 (patch) | |
tree | fd9af129997aa7abbefcdd933a3653356cc60396 /.github/workflows/main.yml | |
parent | Fix lint (diff) | |
parent | Use env variables (diff) | |
download | ferdium-server-e18ec6412a76556d71f5554f268d110e65921c63.tar.gz ferdium-server-e18ec6412a76556d71f5554f268d110e65921c63.tar.zst ferdium-server-e18ec6412a76556d71f5554f268d110e65921c63.zip |
Merge branch 'master' of https://github.com/getferdi/server
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r-- | .github/workflows/main.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e21943b --- /dev/null +++ b/.github/workflows/main.yml | |||
@@ -0,0 +1,18 @@ | |||
1 | name: Trigger Docker Hub build | ||
2 | |||
3 | on: | ||
4 | release: | ||
5 | types: [published] | ||
6 | |||
7 | jobs: | ||
8 | build: | ||
9 | |||
10 | runs-on: ubuntu-latest | ||
11 | |||
12 | steps: | ||
13 | - name: Install HTTPie | ||
14 | run: sudo apt-get install httpie | ||
15 | |||
16 | - name: Send request to Docker Hub to trigger a build | ||
17 | run: > | ||
18 | http post https://hub.docker.com/api/build/v1/source/83564f19-c21a-4dae-9690-971aee3b2a3b/trigger/${{ env.HUB_TRIGGER_ID }}/call/' | ||