Skip to content

Commit

Permalink
Merge branch 'main' into self-msg
Browse files Browse the repository at this point in the history
  • Loading branch information
JAYBORICHA07 authored Oct 31, 2023
2 parents 3faaf33 + bfe101c commit f24caf4
Show file tree
Hide file tree
Showing 3 changed files with 776 additions and 654 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
name: ci

on:
# push:
# branches:
# - "main"
push:
branches:
- "main"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
FROM node:18.2.0-alpine

# Copy package.json and tsconfig files
COPY package*.json tsconfig.json .
COPY yarn.lock package.json tsconfig.json ./

# Copy the source code
COPY src ./src

# Install dependencies using Yarn
RUN npm install
RUN apk add --no-cache git openssh
RUN yarn install

# Build the application
RUN npm run build
Expand Down
Loading

0 comments on commit f24caf4

Please sign in to comment.