Skip to content

Commit

Permalink
cd pipeline mod
Browse files Browse the repository at this point in the history
  • Loading branch information
dhanush-2313 committed Sep 22, 2024
1 parent 08052f3 commit 4168a37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
context: .
file: ./docker/Dockerfile.userapp
push: true
tags: dhanush-2313/user-app:latest
tags: dhanush2313/cicd:user-app-latest

- name: Build and Push Webhook Handler Image
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile.webhook
push: true
tags: dhanush-2313/webhook-handler:latest
tags: dhanush2313/cicd:webhook-handler-latest

- name: Install Docker Compose
run: |
Expand Down
3 changes: 3 additions & 0 deletions docker/Dockerfile.userapp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ COPY package.json package-lock.json turbo.json tsconfig.json ./
COPY apps ./apps
COPY packages ./packages

ENV DATABASE_URL=postgresql://postgres:bruh123@db:5432/postgres


RUN npm install

RUN npm run db:generate
Expand Down

0 comments on commit 4168a37

Please sign in to comment.