ci: trigger docker build on release (#22128)

This commit is contained in:
Revant Nandgaonkar 2020-06-06 21:08:49 +05:30 committed by GitHub
parent 328a55749d
commit 3375a2e85a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.github/workflows/docker-release.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Trigger Docker build on release
on:
release:
types: [created]
jobs:
curl:
runs-on: ubuntu-latest
container:
image: alpine:latest
steps:
- name: curl
run: |
apk add curl bash
curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token ${{ secrets.TRAVIS_CI_TOKEN }}" -d '{"request":{"branch":"master"}}' https://api.travis-ci.org/repo/frappe%2Ffrappe_docker/requests