diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index a953b9a..da4546a 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -42,7 +42,10 @@ jobs: with: push: true platforms: linux/arm64 - tags: masiljangajji/front-app:${{ github.sha }} + tags: | + masiljangajji/front-app:latest + masiljangajji/front-app:${{ github.sha }} + - name: Zip artifact for CodeDeploy run: | diff --git a/scripts/start_docker.sh b/scripts/start_docker.sh index 6fe058b..d1a0e72 100644 --- a/scripts/start_docker.sh +++ b/scripts/start_docker.sh @@ -1,4 +1,4 @@ #!/bin/bash # 새로운 컨테이너 실행 -docker run -d --name front-app -p 80:3000 masiljangajji/front-app:$GITHUB_SHA +docker run -d --name front-app -p 80:3000 masiljangajji/front-app:latest