From c4648e6101562bb2bd8fc315b7141ab1c2c70e30 Mon Sep 17 00:00:00 2001 From: Minseong Park Date: Sat, 3 Aug 2024 22:12:47 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20manual-prod-deploy.yaml=20github.sha->i?= =?UTF-8?q?nput=20tag=20=EC=82=AC=EC=9A=A9=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/manual-prod-deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual-prod-deploy.yaml b/.github/workflows/manual-prod-deploy.yaml index 11122027..08f36f72 100644 --- a/.github/workflows/manual-prod-deploy.yaml +++ b/.github/workflows/manual-prod-deploy.yaml @@ -24,7 +24,7 @@ jobs: password: ${{ secrets.PROD_AWS_SERVER_PASSWORD }} port: ${{ secrets.PROD_AWS_SERVER_PORT }} script: | - docker pull ${{ secrets.DOCKERHUB_USERNAME }}/spot-server:prod-${{ github.sha }} + docker pull ${{ secrets.DOCKERHUB_USERNAME }}/spot-server:prod-${{ github.event.inputs.tag }} docker stop spot-server-prod || true docker rm spot-server-prod || true docker run -d --name spot-server-prod \ @@ -44,5 +44,5 @@ jobs: -e SENTRY_DSN=${{ secrets.SENTRY_DSN }} \ -e SENTRY_ENABLE_TRACING=true \ -e SENTRY_ENVIRONMENT=prod \ - ${{ secrets.DOCKERHUB_USERNAME }}/spot-server:prod-${{ github.sha }} + ${{ secrets.DOCKERHUB_USERNAME }}/spot-server:prod-${{ github.event.inputs.tag }} docker system prune -af \ No newline at end of file