https://docs.docker.com/docker-hub/builds/#remote-build-triggers
Docker hub现在有了一个适当的构建系统。触发要构建的容器的方法之一是使用远程构建触发器。COmmands如下所示:
$ curl --data build=true -X POST https://registry.hub.docker.com/u/svendowideit/testhook/trigger/be579c82-7c0e-11e4-81c4-0242ac110020/他们的网站显示了一些可以传入的参数。但没有解释它们的含义,也没有提供所有可能参数的列表。
所有可能的参数是什么?它们的含义是什么?
发布于 2019-10-22 06:06:23
它肯定适用于分支,但不确定标签:
curl -H "Content-Type: application/json" \
--data '{"source_type": "Branch", "source_name": "develop"}' \
-X POST "$DOCKERHUB_TRIGGER";尝试source_type = Tag
https://stackoverflow.com/questions/53208467
复制相似问题