Skip to content

Commit

Permalink
Merge pull request #142 from boostcampwm2023/test/BE_CD/3
Browse files Browse the repository at this point in the history
�BE CD 수정
  • Loading branch information
msjang4 authored Nov 29, 2023
2 parents ac0c6f3 + fb200fd commit 7975629
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/BE_CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- name : 체크아웃
uses : actions/checkout@v3

- name: 도커 빌드 셋업
uses: docker/setup-buildx-action@v2

- name: 도커 로그인
uses: docker/login-action@v2
with:
Expand All @@ -30,7 +33,6 @@ jobs:
with:
context: ./server
file: ./server/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ secrets.CONTAINER_REGISTRY }}/movemove:latest
cache-from: type=registry,ref=${{ secrets.CONTAINER_REGISTRY }}/movemove:latest
Expand All @@ -49,3 +51,4 @@ jobs:
docker stop movemove-latest
docker rm movemove-latest
docker run -d -p 80:3000 --env-file ${{ secrets.ENV_PATH }} --name movemove-latest ${{ secrets.CONTAINER_REGISTRY }}/movemove:latest
docker image prune -f
2 changes: 1 addition & 1 deletion server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { BaseExceptionFilter } from './http-Exception.filter';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
const config = new DocumentBuilder()
.setTitle('캐시사용 CD 성공!')
.setTitle('CD 적용')
.setDescription('Swagger study API description')
.setVersion('1.0.0')
.addTag('swagger')
Expand Down

0 comments on commit 7975629

Please sign in to comment.