Skip to content

Commit 27a77d0

Browse files
committed
Fix docker hub trigger curl command
1 parent c191d20 commit 27a77d0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ script:
44
- docker build -t wtanaka/ubuntu-1604-oracle-java-8-zookeeper .
55
- docker run wtanaka/ubuntu-1604-oracle-java-8-zookeeper bash -c "which /usr/lib/zookeeper/bin/cli_mt"
66
after_success:
7-
- curl https://registry.hub.docker.com/u/wtanaka/ubuntu-1604-oracle-java-8-zookeeper/trigger/d054346a-cdc3-4ddc-909f-580349b36c3c/
7+
- >
8+
curl -H "Content-Type: application/json"
9+
--data '{"source_type": "Branch", "source_name": "master"}'
10+
-X POST
11+
https://registry.hub.docker.com/u/wtanaka/ubuntu-1604-oracle-java-8-zookeeper/trigger/d054346a-cdc3-4ddc-909f-580349b36c3c/

0 commit comments

Comments
 (0)