From ccb5c78eb1ae790ade1a3e5293f9ab892759f70f Mon Sep 17 00:00:00 2001 From: devxb Date: Thu, 11 Apr 2024 15:39:59 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20=EB=B2=84=EC=A0=84=EB=93=B1=EB=A1=9D?= =?UTF-8?q?=EC=9D=84=20pr=20=EC=A0=9C=EB=AA=A9=EC=97=90=EB=A7=9E=EA=B2=8C?= =?UTF-8?q?=20=EC=88=98=EC=A0=95=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3cbed9b..5b23ca2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,9 +4,6 @@ on: push: branches: - 'release' - pull_request: - branches: - - 'release' jobs: build: @@ -63,7 +60,7 @@ jobs: platforms: linux/arm64/v8 push: true tags: | - ghcr.io/devxb/gitanimals:0.0.2 + ghcr.io/devxb/gitanimals:${{ steps.extract_version_name.outputs.version }} build-args: | "DB_URL=${{ secrets.DB_URL }}" "DB_USERNAME=${{ secrets.DB_USERNAME }}" @@ -93,4 +90,4 @@ jobs: run: | sudo docker pull ghcr.io/devxb/gitanimals:${{ steps.extract_version_name.outputs.version }} sudo docker ps -q --filter "expose=8080" | xargs sudo docker stop | xargs sudo docker rm - sudo docker run -d -p ghcr.io/devxb/gitanimals:${{ steps.extract_version_name.outputs.version }} + sudo docker run -d -p 8080:8080 ghcr.io/devxb/gitanimals:${{ steps.extract_version_name.outputs.version }}