forked from guoyu07/auto_cmp_php_docker_server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrigger_build.sh
More file actions
11 lines (8 loc) · 1003 Bytes
/
trigger_build.sh
File metadata and controls
11 lines (8 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
# Trigger all tags/branchs for this automated build.
$ curl -H "Content-Type: application/json" --data '{"build": true}' -X POST https://registry.hub.docker.com/u/cmptech/auto_cmp_php_docker_server/trigger/800bf50f-9ad8-4e2b-901c-be8cc2015b03/
# Trigger by docker tag name
#$ curl -H "Content-Type: application/json" --data '{"docker_tag": "master"}' -X POST https://registry.hub.docker.com/u/cmptech/auto_cmp_php_docker_server/trigger/800bf50f-9ad8-4e2b-901c-be8cc2015b03/
# Trigger by Source branch named staging
#$ curl -H "Content-Type: application/json" --data '{"source_type": "Branch", "source_name": "staging"}' -X POST https://registry.hub.docker.com/u/cmptech/auto_cmp_php_docker_server/trigger/800bf50f-9ad8-4e2b-901c-be8cc2015b03/
# Trigger by Source tag named v1.1
#$ curl -H "Content-Type: application/json" --data '{"source_type": "Tag", "source_name": "v1.1"}' -X POST https://registry.hub.docker.com/u/cmptech/auto_cmp_php_docker_server/trigger/800bf50f-9ad8-4e2b-901c-be8cc2015b03/