{"id":133974,"date":"2020-07-20T10:16:35","date_gmt":"2020-07-20T02:16:35","guid":{"rendered":"http:\/\/4563.org\/?p=133974"},"modified":"2020-07-20T10:16:35","modified_gmt":"2020-07-20T02:16:35","slug":"%e4%b8%8d%e6%87%82%e5%b0%b1%e8%a6%81%e9%97%ae-%e9%82%a3%e4%bd%8d%e5%a4%a7%e4%bd%ac%e5%b8%ae%e6%88%91%e5%86%99%e4%b8%aagithub-actions","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=133974","title":{"rendered":"[\u4e0d\u61c2\u5c31\u8981\u95ee] \u90a3\u4f4d\u5927\u4f6c\u5e2e\u6211\u5199\u4e2agithub Actions"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u5c0f\u7a74\u513f<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>[\u4e0d\u61c2\u5c31\u8981\u95ee] \u90a3\u4f4d\u5927\u4f6c\u5e2e\u6211\u5199\u4e2agithub Actions<\/h3>\n<p>  \t\t\u4e8b\u60c5\u662f\u8fd9\u6837\u6ef4\uff0c<br \/>  n1\u4e0a\u6ca1\u641e\u68af\u5b50\uff0c\u62c9\u53d6docker\u5b98\u65b9\u7684\u955c\u50cf\u6709\u7684\u62c9\u53d6\u4e0d\u4e0b\u6765\uff0c\u7528\u56fd\u5185\u7684\u955c\u50cf\u6709\u7684\u4e5f\u4e0d\u884c\u3002\u3002\u6211\u5c31\u60f3\u7528github\u7684Actions\u81ea\u52a8\u62c9\u53d6docker\u7684\u955c\u50cf\u7136\u540e\u63a8\u9001\u5230\u963f\u91cc\u4e91\u4e0a\u9762\uff0c<br \/>  \u90a3\u4f4d\u5927\u4f6c\u5e2e\u5fd9\u641e\u4e2a\u554a\u3002\u3002\u3002\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>inkedus<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e0d\u4f1a\u5199\uff0c\u4e0d\u4f1a\u8fd9\u4e1c\u897f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>loveqianool<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tcloudflare workers \u505a\u4e2a docker \u955c\u50cf\u81ea\u5df1\u7528\u4e0d\u5c31\u884c\u4e86\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5c0f\u7a74\u513f<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tloveqianool \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-7-20 08:02<br \/>  cloudflare workers \u505a\u4e2a docker \u955c\u50cf\u81ea\u5df1\u7528\u4e0d\u5c31\u884c\u4e86\u3002<\/p>\n<p> \u5c0f\u767d\u4e0d\u4f1a\u554a\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>loveqianool<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\thttps:\/\/lework.github.io\/2020\/06\/11\/workers\/<\/p>\n<p>  \u4f60\u53ef\u4ee5\u5c06 docker \u7684 registry-mirrors \u8bbe\u7f6e\u4e3a\u4ee3\u7406\u5730\u5740 https:\/\/docker.lework.workers.dev\/<\/p>\n<p>  #\u3000\/etc\/docker\/daemon.json <br \/>  {<br \/>  &nbsp; &nbsp; &quot;debug&quot;: true,<br \/>  &nbsp; &nbsp; &quot;log-driver&quot;: &quot;json-file&quot;,<br \/>  &nbsp; &nbsp; &quot;log-opts&quot;: {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&quot;max-size&quot;: &quot;100m&quot;,<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&quot;max-file&quot;: &quot;3&quot;<br \/>  &nbsp; &nbsp; },<br \/>  &nbsp; &nbsp; &quot;live-restore&quot;: true,<br \/>  &nbsp; &nbsp; &quot;max-concurrent-downloads&quot;: 10,<br \/>  &nbsp; &nbsp; &quot;max-concurrent-uploads&quot;: 10,<br \/>  &nbsp; &nbsp; &quot;storage-driver&quot;: &quot;overlay2&quot;,<br \/>  &nbsp; &nbsp; &quot;storage-opts&quot;: [<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&quot;overlay2.override_kernel_check=true&quot;<br \/>  &nbsp; &nbsp; ],<br \/>  &nbsp; &nbsp; &quot;registry-mirrors&quot;: [<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&quot;https:\/\/docker.lework.workers.dev\/&quot;<br \/>  &nbsp; &nbsp; ]<br \/>  }\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5c0f\u7a74\u513f<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tinkedus \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-7-20 08:01<br \/>  \u4e0d\u4f1a\u5199\uff0c\u4e0d\u4f1a\u8fd9\u4e1c\u897f<\/p>\n<p> \u9a6c\u603b\u4f60\u597d\uff0c\u9a6c\u603b\u518d\u89c1\u3002\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5c0f\u7a74\u513f<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tloveqianool \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-7-20 08:05<br \/>  https:\/\/lework.github.io\/2020\/06\/11\/workers\/<\/p>\n<p> \u5927\u4f6c\uff0c\u4f60\u7684cf\u4f1a\u4e0d\u4f1a\u88ab\u641e\u8d85\u4e86\u554a\uff0c\u8981\u4e0d\u8981\u5427\u811a\u672c\u653e\u51fa\u6765\u73a9\u73a9\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>loveqianool<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5c0f\u7a74\u513f \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-7-20 08:06<br \/>  \u5927\u4f6c\uff0c\u4f60\u7684cf\u4f1a\u4e0d\u4f1a\u88ab\u641e\u8d85\u4e86\u554a\uff0c\u8981\u4e0d\u8981\u5427\u811a\u672c\u653e\u51fa\u6765\u73a9\u73a9<\/p>\n<p> \u4e0d\u662f\u6211\u7684:lol<\/p>\n<p>  \u5bf9\u4e86\uff0c\u963f\u91cc\u4e91\u6709\u63d0\u4f9b docker \u955c\u50cf\u52a0\u901f\u670d\u52a1\uff0c\u9700\u8981\u7533\u8bf7\uff0c\u4ee5\u4e0b\u56fd\u5185\u955c\u50cf\u7ad9\u90fd\u633a\u5feb\u7684\u3002<\/p>\n<p>  docker\u5b98\u65b9\u4e2d\u56fd\u533a https:\/\/registry.docker-cn.com<br \/>  \u7f51\u6613 http:\/\/hub-mirror.c.163.com<br \/>  ustc http:\/\/docker.mirrors.ustc.edu.cn<br \/>  \u963f\u91cc\u4e91 http:\/\/&lt;\u4f60\u7684ID\uff0c\u9700\u8981\u7533\u8bf7&gt;.mirror.aliyuncs.com  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u79cb\u4e0a\u4e66<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e0d\u61c2 \u5e2e\u9876\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5c0f\u7a74\u513f<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tloveqianool \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-7-20 08:10<br \/>  \u4e0d\u662f\u6211\u7684<\/p>\n<p>  \u5bf9\u4e86\uff0c\u963f\u91cc\u4e91\u6709\u63d0\u4f9b docker \u955c\u50cf\u52a0\u901f\u670d\u52a1\uff0c\u9700\u8981\u7533\u8bf7\uff0c\u4ee5\u4e0b\u56fd\u5185\u955c\u50cf\u7ad9\u90fd\u633a\u5feb\u7684\u3002<\/p>\n<p> \u6211\u76f4\u63a5 \u955c\u50cf\u5730\u5740\/docker\u7528\u6237\u540d\/\u6587\u4ef6\u540d\uff0c\u8fd9\u6837\u6709\u7684\u4f1a\u663e\u793a\u7f51\u7edc\u95ee\u9898\u8fd8\u662f\u5565\u7684\u3002\u3002\u3002\u641e\u4e0d\u8d77\u3002\u3002\u3002\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c0f\u7a74\u513f \u5927\u4f6c\u6709\u8bdd\u8bf4 : [\u4e0d\u61c2\u5c31\u8981&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/133974"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=133974"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/133974\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=133974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=133974"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=133974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}