Skip to content

Commit

Permalink
Merge pull request #22 from sparcs-kaist/develop
Browse files Browse the repository at this point in the history
fix CD pipeline: slack webhook curl not installed
  • Loading branch information
jinho-choi123 authored May 17, 2024
2 parents 0c858b8 + 380291c commit faa8cfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ FROM node:18-alpine

WORKDIR /app

RUN apk add --no-cache curl

COPY --from=builder /app/dist /app

RUN yarn global add serve
Expand Down
2 changes: 1 addition & 1 deletion .docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
zabo-boards:
image: ghcr.io/sparcs-kaist/zabo-boards:latest
ports:
- 15090:80
- "15090:80"
labels:
- "com.centurylinklabs.watchtower.scope=zabo-boards"
- 'com.centurylinklabs.watchtower.lifecycle.pre-update=curl -X POST -H ''Content-type: application/json'' --data ''{"text":"[PROD] 업데이트를 위해 zabo-boards 서비스를 종료시켰습니다."}'' ${SLACK_WATCHTOWER_WEBHOOK}'
Expand Down

0 comments on commit faa8cfd

Please sign in to comment.