{"id":1163,"date":"2023-04-21T21:54:14","date_gmt":"2023-04-21T12:54:14","guid":{"rendered":"https:\/\/www.gyuroot.com\/wordpress\/?p=1163"},"modified":"2023-07-04T22:11:35","modified_gmt":"2023-07-04T13:11:35","slug":"sprint-%ed%99%98%ea%b2%bd-%eb%b3%80%ec%88%98-%eb%b6%84%eb%a6%ac","status":"publish","type":"post","link":"https:\/\/www.gyuroot.com\/wordpress\/?p=1163","title":{"rendered":"[Sprint] \ud658\uacbd \ubcc0\uc218 \ubd84\ub9ac"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_63 counter-hierarchy ez-toc-counter ez-toc-white ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >\ubaa9\ucc28<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\/#_%ED%95%B4%EA%B2%B0_%EA%B3%BC%EC%A0%9C\" title=\"# \ud574\uacb0 \uacfc\uc81c\"># \ud574\uacb0 \uacfc\uc81c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\/#_%EC%8B%A4%EC%8A%B5_%EC%9E%90%EB%A3%8C\" title=\"# \uc2e4\uc2b5 \uc790\ub8cc\"># \uc2e4\uc2b5 \uc790\ub8cc<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\/#_%EA%B3%BC%EC%A0%9C_%ED%95%AD%EB%AA%A9%EB%B3%84_%EC%A7%84%ED%96%89_%EC%83%81%ED%99%A9\" title=\"# \uacfc\uc81c \ud56d\ubaa9\ubcc4 \uc9c4\ud589 \uc0c1\ud669\"># \uacfc\uc81c \ud56d\ubaa9\ubcc4 \uc9c4\ud589 \uc0c1\ud669<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\/#_TROUBLE_SHOOTING_LOG\" title=\"# TROUBLE SHOOTING LOG\"># TROUBLE SHOOTING LOG<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\/#%EC%9B%90%EC%9D%B8\" title=\"\uc6d0\uc778\">\uc6d0\uc778<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\/#%ED%95%B4%EA%B2%B0_%EB%B0%A9%EC%95%88\" title=\"\ud574\uacb0 \ubc29\uc548\">\ud574\uacb0 \ubc29\uc548<\/a><\/li><\/ul><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\/#_%ED%94%BC%EB%93%9C%EB%B0%B1\" title=\"# \ud53c\ub4dc\ubc31\"># \ud53c\ub4dc\ubc31<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\/#References\" title=\"#References\">#References<\/a><\/li><\/ul><\/nav><\/div>\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"_%ED%95%B4%EA%B2%B0_%EA%B3%BC%EC%A0%9C\"><\/span># \ud574\uacb0 \uacfc\uc81c<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">&#x1f4a1; GitHub Action\uc744 \uc774\uc6a9\ud558\uc5ec CI \uc0c1\uc5d0\uc11c Mini node server\ub97c Docker \uc774\ubbf8\uc9c0\ub85c \ub9cc\ub4e0 \ud6c4, \uc5ec\ub7ec\ubd84\uc758 Docker Hub\uc5d0 push\ud558\uc138\uc694<\/p>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"_%EC%8B%A4%EC%8A%B5_%EC%9E%90%EB%A3%8C\"><\/span># \uc2e4\uc2b5 \uc790\ub8cc<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\"><a href=\"https:\/\/github.com\/cs-devops-bootcamp\/sprint-mini-node-server-with-github-action\">sprint-mini-node-server-with-github-action<\/a><\/p>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"_%EA%B3%BC%EC%A0%9C_%ED%95%AD%EB%AA%A9%EB%B3%84_%EC%A7%84%ED%96%89_%EC%83%81%ED%99%A9\"><\/span># \uacfc\uc81c \ud56d\ubaa9\ubcc4 \uc9c4\ud589 \uc0c1\ud669<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n<p class=\"has-background\" style=\"background-color: rgb(231, 243, 248)\">&#x270f;&#xfe0f; <strong>\u00a0CI\u00a0\uc0c1\uc5d0\uc11c\u00a0\uc8fc\uc5b4\uc9c4\u00a0Dockerfile\uc744\u00a0\uc774\uc6a9\ud574\u00a0Docker\u00a0\uc774\ubbf8\uc9c0\ub97c\u00a0\ube4c\ub4dc\ud560\u00a0\uc218\u00a0\uc788\ub3c4\ub85d,\u00a0workflow\ub97c\u00a0\uc0c8\ub85c\u00a0\ub9cc\ub4e4\uae30<\/strong><\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\"><strong>Step 1 : \ub2e4\uc74c\u00a0<\/strong><a href=\"https:\/\/docs.github.com\/ko\/actions\/publishing-packages\/publishing-docker-images\"><strong>\ub808\ud37c\ub7f0\uc2a4<\/strong><\/a><strong>\ub97c\u00a0\ucc38\uace0\ud574\uc11c\u00a0Docker\u00a0\ube4c\ub4dc\uc6a9\u00a0GitHub\u00a0Action\u00a0workflow\ub97c\u00a0\ub9cc\ub4dc\uc138\uc694.\nworkflow\ub97c\u00a0\ucd94\uac00\ud55c\ub2e4\uace0\u00a0\ud574\uc11c\u00a0GitHub\u00a0Action\uc774\u00a0\uc989\uc2dc\u00a0\uc791\ub3d9\ud558\uc9c0\ub294\u00a0\uc54a\uc744\u00a0\uac83\uc785\ub2c8\ub2e4.\n\n<\/strong><\/p>\n\n\n<blockquote class=\"wp-block-quote has-text-color\" style=\"color: rgb(0, 0, 0)\">\n<p><strong>sprint-mini-node-server-with-github-action\/.github\/workflows\/docker-build-push.yaml<\/strong><\/p>\n\n<\/blockquote>\n\n\n<pre class=\"wp-block-code\"><code>name: Publish Docker image  # \uc6cc\ud06c\ud50c\ub85c\uc758 \uc774\ub984\n\non:  # \uc6cc\ud06c\ud50c\ub85c\uac00 \uc2e4\ud589\ub420 \uc774\ubca4\ud2b8\n  release:  # release \uc774\ubca4\ud2b8\n    types: [published]  # \uc774\ubca4\ud2b8\uc758 Activity Type \n\njobs:  # \ubcd1\ub82c\ub85c \uc2e4\ud589\ud560 job \uc744 \uc815\uc758\n  push_to_registry:\n    name: Push Docker image to Docker Hub\n    \n    runs-on: ubuntu-latest  # \ud638\uc2a4\ud305 \ub7ec\ub108 \uc720\ud615\n    \n    steps:  # \uc21c\ucc28\ub85c \uc2e4\ud589\ud560 step \uc744 \uc815\uc758\n      - name: Check out the repo\n        uses: actions\/checkout@v3  # \ub808\ud30c\uc9c0\ud1a0\ub9ac\uc5d0\uc11c \ucf54\ub4dc\ub97c \uccb4\ud06c\uc544\uc6c3\n      \n      - name: Log in to Docker Hub\n        uses: docker\/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1  # Docker Hub \ub85c\uadf8\uc778\n        with:\n          username: ${{ secrets.DOCKER_USERNAME }}  # \ub85c\uadf8\uc778 username - secrets \ud658\uacbd \ubcc0\uc218 \uc0ac\uc6a9\n          password: ${{ secrets.DOCKER_PASSWORD }}  # \ub85c\uadf8\uc778 password - secrets \ud658\uacbd \ubcc0\uc218 \uc0ac\uc6a9\n      \n      - name: Extract metadata (tags, labels) for Docker\n        id: meta\n        uses: docker\/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7  # Git \uc774\ubca4\ud2b8\uc5d0\uc11c \uba54\ud0c0\ub370\uc774\ud130 \ucd94\ucd9c\ud558\uc5ec Docker Image \uba54\ud0c0\ub370\uc774\ud130 \ud615\ud0dc\ub85c \ubcc0\ud658\n        with:\n          images: taekyungoh\/mini-node-server  # \uba54\ud0c0\ub370\uc774\ud130 \ubcc0\ud658\uc2dc \uc0ac\uc6a9\ud560 Image\n      \n      - name: Build and push Docker image\n        uses: docker\/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4  # Docker Image Push\n        with:\n          context: .  # Docker Build context\n          push: true  # Docker Registry Push \uc5ec\ubd80\n          tags: ${{ steps.meta.outputs.tags }}  # Image Tag - meta step \uc5d0\uc11c \ucd94\ucd9c\ud55c tag \uc0ac\uc6a9\n          labels: ${{ steps.meta.outputs.labels }}  # Image Labels - meta step \uc5d0\uc11c \ucd94\ucd9c\ud55c labels \uc0ac\uc6a9<\/code><\/pre>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\"><strong>Step 2 : repository\uc5d0\uc11c \uc624\ub978\ucabd \uc0ac\uc774\ub4dc\ubc14\ub97c \uc0b4\ud3b4\ubcf4\uba74, Release -&gt; Create a new release \ub9c1\ud06c\uac00 \uc874\uc7ac\ud569\ub2c8\ub2e4. \uc774 \ub9c1\ud06c\ub97c \ub204\ub974\uace0 \uc0c8\ub85c\uc6b4 \ub9b4\ub9ac\uc2a4\ub97c \ubc1c\ud589\ud569\ub2c8\ub2e4. \uc124\uc815\uc740 \ub2e4\uc74c\uacfc \uac19\uc774 \uc9c4\ud589\ud569\ub2c8\ub2e4.<\/strong><\/p>\n\n\n<ul>\n<li>Choose a tag: v1.0.0<\/li>\n\n\n<li>Release\u00a0title\u00a0\ubc0f\u00a0Release\u00a0notes\ub294\u00a0\uc5ec\ub7ec\ubd84\uc774\u00a0\uc790\uc720\ub86d\uac8c\u00a0\uc785\ub825\ud558\uc138\uc694.<\/li>\n\n<\/ul>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.gyuroot.com\/wordpress\/wp-content\/uploads\/image-229-1024x813.png?v=1688456465\" alt=\"\"\/><\/figure>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\"><strong>Step 3 :\u00a0Publish release \ud6c4\uc5d0 GitHub Action\uc774 \uc791\ub3d9\ud558\ub098\uc694?<\/strong><\/p>\n\n\n<ul>\n<li>\uc65c \uc791\ub3d9\uc774 \ub418\ub294 \uac78\uae4c\uc694? \uc544\uae4c\ub294 \uc65c \uc548 \ub410\uc744\uae4c\uc694?<\/li>\n\n<\/ul>\n\n\n<p class=\"has-background\" style=\"background-color: rgb(241, 241, 239)\">&#x2753; <strong>Step 1\uc5d0\uc11c GitHub Action \uc2e4\ud589\uc774 \ub418\uc9c0 \uc54a\uc558\ub358 \uc774\uc720\n\n<\/strong><span style=\"color: rgba(212, 76, 71, 1)\"><strong>\uc6cc\ud06c\ud50c\ub85c\ub97c release \uc774\ubca4\ud2b8 \ubc1c\uc0dd \uc2dc \uc2e4\ud589\ub418\ub3c4\ub85d \uad6c\ud604\ud588\uae30 \ub54c\ubb38\uc5d0,\npush \uc774\ubca4\ud2b8 \ubc1c\uc0dd \uc2dc\uc5d0\ub294 \uc2e4\ud589\ub418\uc9c0 \uc54a\uc74c.<\/strong><\/span><\/p>\n\n\n<p class=\"has-background\" style=\"background-color: rgb(231, 243, 248)\">&#x270f;&#xfe0f; <strong>\uc778\uc99d \uc815\ubcf4\uc5d0 \ub300\ud55c \ud658\uacbd \ubcc0\uc218 \uc0dd\uc131<\/strong><\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\"><strong>Step 1 : 1\ubc88 \uacfc\uc815\uc744 \ud1b5\ud574 GitHub Action\uc744 \uc2e4\ud589\ud558\uba74 \uadf8 \uacb0\uacfc\ub294 \uc2e4\ud328\ub85c \ub098\ud0c0\ub0a0 \uac83\uc785\ub2c8\ub2e4. \ubb34\uc5c7\uc774 \uc798\ubabb\ub418\uc5c8\ub294\uc9c0 \uba3c\uc800 \ub85c\uadf8\ub97c \uc0b4\ud3b4\ubcf4\uc138\uc694.<\/strong><\/p>\n\n\n<ul>\n<li>\uc65c \uc2e4\ud328\ud588\uc744\uae4c\uc694? \ub85c\uadf8\uc5d0\uc11c \uadf8 \uc774\uc720\ub97c \ucc3e\uc544\ubcf4\uc138\uc694.<\/li>\n\n<\/ul>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.gyuroot.com\/wordpress\/wp-content\/uploads\/image-230-961x1024.png?v=1688456470\" alt=\"\"\/><\/figure>\n\n\n<p class=\"has-background\" style=\"background-color: rgb(241, 241, 239)\">&#x2753; <strong>GitHub Action \uc2e4\ud589\uc774 \uc2e4\ud328\ud55c \uc774\uc720\n\n<\/strong><span style=\"color: rgba(212, 76, 71, 1)\"><strong>\uc6cc\ud06c\ud50c\ub85c\uac00 secrets \ud658\uacbd\ubcc0\uc218\uc758 DOCKER_USERNAME \uacfc DOCKER_PASSWORD \ub97c \ucc38\uc870\ud558\uace0 \uc788\uc9c0\ub9cc \ud658\uacbd\ubcc0\uc218\ub97c \uc0dd\uc131\ud558\uc9c0 \uc54a\uc558\uae30 \ub54c\ubb38<\/strong><\/span><\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\"><strong>Step 2 : Workflow YAML \ud30c\uc77c\uc744 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uba74, DOCKER_USERNAME \ubc0f DOCKER_PASSWORD\ub77c\ub294 \ud658\uacbd \ubcc0\uc218\uac00 \uc874\uc7ac\ud569\ub2c8\ub2e4. \ub9d0 \uadf8\ub300\ub85c \uc544\uc774\ub514\uc640 \ube44\ubc00\ubc88\ud638\uc640 \uac19\uc740 \ubbfc\uac10\uc815\ubcf4\ub97c YAML \ucf54\ub4dc\uc5d0 \uc785\ub825\ud574\uc11c git commit \uae30\ub85d\uc73c\ub85c \ub0a8\uaca8\ub454\ub2e4\uba74, \ub354 \uc774\uc0c1\uc740 \uadf8 \ube44\ubc00\ubc88\ud638\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc5c6\uac8c \ub420 \uac83\uc785\ub2c8\ub2e4.<\/strong><\/p>\n\n\n<ul>\n<li>GitHub\uc5d0\uc11c\ub294 \uc774\ub7ec\ud55c \ud658\uacbd \ubcc0\uc218\ub97c \uc548\uc804\ud558\uac8c \ubcf4\uad00\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. Settings -&gt; Secrets\uc5d0\uc11c \ud658\uacbd \ubcc0\uc218\ub97c \uc124\uc815\ud558\uc138\uc694.<\/li>\n\n<\/ul>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.gyuroot.com\/wordpress\/wp-content\/uploads\/image-360-1024x709.png?v=1688475245\" alt=\"\"\/><\/figure>\n\n\n<p class=\"has-background\" style=\"background-color: rgb(231, 243, 248)\">&#x270f;&#xfe0f; <strong>Dockerfile \ube4c\ub4dc \uacb0\uacfc\ub97c \ud655\uc778\ud558\uace0, Docker Hub\uc5d0 \uc774\ubbf8\uc9c0\uac00 \uc81c\ub300\ub85c push \ub418\uc5c8\ub294\uc9c0 \ud655\uc778<\/strong><\/p>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\"><strong>Step 1 : \uc55e\uc11c\u00a0\uc774\u00a0\uacfc\uc815\uc744\u00a0\ub2e4\u00a0\uc798\u00a0\ub530\ub77c\uc654\ub2e4\uba74,\u00a0\uc5ec\ub7ec\ubd84\u00a0\uac01\u00a0\uac1c\uc778\uc758\u00a0Docker\u00a0Hub\uc5d0\ub294\u00a0mini-node-server\u00a0\uc774\ubbf8\uc9c0\uac00\u00a0\uc131\uacf5\uc801\uc73c\ub85c\u00a0push\ub418\uc5b4\u00a0\uc788\uc744\u00a0\uac81\ub2c8\ub2e4.\u00a0<\/strong><a href=\"https:\/\/hub.docker.com\/u\/\"><strong>https:\/\/hub.docker.com\/u\/<\/strong><\/a><strong>&lt;\uc5ec\ub7ec\ubd84_\uc544\uc774\ub514&gt;\uc5d0\u00a0\ub4e4\uc5b4\uac00\uc11c\u00a0\uacb0\uacfc\ub97c\u00a0\ud655\uc778\ud574\u00a0\ubcf4\uc138\uc694.<\/strong><\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.gyuroot.com\/wordpress\/wp-content\/uploads\/image-361-1024x903.png?v=1688475249\" alt=\"\"\/><\/figure>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"_TROUBLE_SHOOTING_LOG\"><\/span># TROUBLE SHOOTING LOG<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n<p class=\"has-background\" style=\"background-color: rgb(251, 243, 219)\">&#x1f4a1; \ubb38\uc81c \ub0b4\uc6a9<\/p>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EC%9B%90%EC%9D%B8\"><\/span>\uc6d0\uc778<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.gyuroot.com\/wordpress\/wp-content\/uploads\/image-362.png?v=1688475251\" alt=\"\"\/><\/figure>\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%ED%95%B4%EA%B2%B0_%EB%B0%A9%EC%95%88\"><\/span>\ud574\uacb0 \ubc29\uc548<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.gyuroot.com\/wordpress\/wp-content\/uploads\/image-363.png?v=1688475254\" alt=\"\"\/><\/figure>\n\n\n<p class=\"has-text-color\" style=\"color: rgb(0, 0, 0)\">tags \ud0a4\uac12\uc740 github \ub808\ud30c\uc9c0\ud1a0\ub9ac \uc774\ub984\uc774 \uc544\ub2cc dockerhub\uc758 \ub808\ud30c\uc9c0\ud1a0\ub9ac\ub85c \uc0dd\uc131\ud560 \uc774\ubbf8\uc9c0 \uba85\uc73c\ub85c \uc124\uc815\ud574\uc57c \ud558\ubbc0\ub85c \uc704\uc640 \uac19\uc774 \uc218\uc815\uc744 \ud558\uc600\ub2e4.<\/p>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"_%ED%94%BC%EB%93%9C%EB%B0%B1\"><\/span># \ud53c\ub4dc\ubc31<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\uc624\ud0dc\uacbd<\/th><th>\ubc15\ucc2c\uaddc<\/th><\/tr><\/thead><tbody><tr><td>\uc9c0\ub09c \uc2a4\ud504\ub9b0\ud2b8 \ub54c \uc774\ud574\ud558\uc9c0 \ubabb\ud588\ub358 steps: uses \ubcc0\uc218\uc5d0 \uc815\uc758\ub418\ub294 \uac12\uc758 \uc758\ubbf8\ub97c \uc54c \uc218 \uc788\uc5c8\ub2e4.<\/td><td>\uc774\ubc88 \uae30\ud68c\uc5d0 \uc790\ub3d9\ud654 \ub3c4\uad6c\uc5d0 \ub300\ud574 \uad00\uc2ec\uc774 \ub9ce\uc544 \uc84c\uace0 \ub2e4\ub978 \uc790\ub3d9\ud654 \ub3c4\uad6c\ub3c4 \uc811\ud574\uc57c \uaca0\ub2e4.<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n<h1 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"References\"><\/span>#References<span class=\"ez-toc-section-end\"><\/span><\/h1>\n\n\n<ul>\n<li><a href=\"https:\/\/docs.github.com\/ko\/actions\/publishing-packages\/publishing-docker-images\">publishing-docker-images<\/a><\/li>\n\n<\/ul>\n\n","protected":false},"excerpt":{"rendered":"<p># \ud574\uacb0 \uacfc\uc81c &#x1f4a1; GitHub Action\uc744 \uc774\uc6a9\ud558\uc5ec CI \uc0c1\uc5d0\uc11c Mini node server\ub97c Docker \uc774\ubbf8\uc9c0\ub85c \ub9cc\ub4e0 \ud6c4, \uc5ec\ub7ec\ubd84\uc758 Docker Hub\uc5d0 push\ud558\uc138\uc694 # \uc2e4\uc2b5 \uc790\ub8cc sprint-mini-node-server-with-github-action # \uacfc\uc81c \ud56d\ubaa9\ubcc4 \uc9c4\ud589 \uc0c1\ud669 &#x270f;&#xfe0f; \u00a0CI\u00a0\uc0c1\uc5d0\uc11c\u00a0\uc8fc\uc5b4\uc9c4\u00a0Dockerfile\uc744\u00a0\uc774\uc6a9\ud574\u00a0Docker\u00a0\uc774\ubbf8\uc9c0\ub97c\u00a0\ube4c\ub4dc\ud560\u00a0\uc218\u00a0\uc788\ub3c4\ub85d,\u00a0workflow\ub97c\u00a0\uc0c8\ub85c\u00a0\ub9cc\ub4e4\uae30 Step 1 : \ub2e4\uc74c\u00a0\ub808\ud37c\ub7f0\uc2a4\ub97c\u00a0\ucc38\uace0\ud574\uc11c\u00a0Docker\u00a0\ube4c\ub4dc\uc6a9\u00a0GitHub\u00a0Action\u00a0workflow\ub97c\u00a0\ub9cc\ub4dc\uc138\uc694. workflow\ub97c\u00a0\ucd94\uac00\ud55c\ub2e4\uace0\u00a0\ud574\uc11c\u00a0GitHub\u00a0Action\uc774\u00a0\uc989\uc2dc\u00a0\uc791\ub3d9\ud558\uc9c0\ub294\u00a0\uc54a\uc744\u00a0\uac83\uc785\ub2c8\ub2e4. sprint-mini-node-server-with-github-action\/.github\/workflows\/docker-build-push.yaml Step 2 : repository\uc5d0\uc11c \uc624\ub978\ucabd \uc0ac\uc774\ub4dc\ubc14\ub97c \uc0b4\ud3b4\ubcf4\uba74, Release -&gt; Create a new release \ub9c1\ud06c\uac00 \uc874\uc7ac\ud569\ub2c8\ub2e4. \uc774 \ub9c1\ud06c\ub97c \ub204\ub974\uace0 &#8230; <a title=\"[Sprint] \ud658\uacbd \ubcc0\uc218 \ubd84\ub9ac\" class=\"read-more\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=1163\" aria-label=\"More on [Sprint] \ud658\uacbd \ubcc0\uc218 \ubd84\ub9ac\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":""},"categories":[45],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1163"}],"collection":[{"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1163"}],"version-history":[{"count":1,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1163\/revisions"}],"predecessor-version":[{"id":1183,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1163\/revisions\/1183"}],"wp:attachment":[{"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}