{"author_url":"https://blog.hatena.ne.jp/holyshared/","title":"build-push-action\u3067secret\u3092\u6271\u3046","author_name":"holyshared","categories":["GitHub Actions","Docker"],"provider_url":"https://hatena.blog","type":"rich","image_url":null,"published":"2025-07-15 13:23:37","blog_url":"https://www.holyshared.ninja/","provider_name":"Hatena Blog","blog_title":"type holyshared = Engineer<mixed>","version":"1.0","url":"https://www.holyshared.ninja/entry/2025/07/15/132337","width":"100%","description":"npm\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u306b\u74b0\u5883\u5909\u6570\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u969b\u3001Docker\u306e\u30b3\u30f3\u30c6\u30ca\u3092NPM\u306e\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u304c\u6f0f\u308c\u306a\u3044\u3088\u3046\u306b\u30d3\u30eb\u30c9\u3059\u308b\u5fc5\u8981\u304c\u51fa\u305f\u308a\u3057\u307e\u3059\u3002 \u4f8b\u3048\u3070.yarnrc.yml\u3067\u74b0\u5883\u5909\u6570\u3092\u53c2\u7167\u3057\u3066\u3044\u308b\u5834\u5408\u306a\u3069\u3067\u3059\u3002 npmAuthToken: \"${NPM_AUTH_TOKEN}\" \u3053\u306e\u5834\u5408\u3001Docker\u30b3\u30f3\u30c6\u30ca\u3092\u30d3\u30eb\u30c9\u3059\u308b\u5834\u5408\u3001\u74b0\u5883\u5909\u6570\u3092Secret\u3068\u3057\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002 docker buildx build -f packages/api/Dockerfile \\ --secret id=npm_auth_token,env=NPM_AUTH_TOKEN \\ -\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.holyshared.ninja%2Fentry%2F2025%2F07%2F15%2F132337\" title=\"build-push-action\u3067secret\u3092\u6271\u3046 - type holyshared = Engineer&lt;mixed&gt;\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190"}