Skip to content

Commit

Permalink
Further Updates. (#30)
Browse files Browse the repository at this point in the history

Co-authored-by: Vedansh <[email protected]>
  • Loading branch information
TheHamsterBot and offensive-vk authored Oct 12, 2024
1 parent 76da5b4 commit 311155c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
node-version: [18.x, 19.x, 20.x, 21.x, 22.x]

name: Linux - Build & Test on Node Version ${{ matrix.node-version }}
name: Linux - Node Version ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4

Expand All @@ -43,7 +43,7 @@ jobs:
matrix:
node-version: [18.x, 19.x, 20.x, 21.x, 22.x]

name: Macos - Build & Test on Node Version ${{ matrix.node-version }}
name: Macos - Node Version ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4

Expand All @@ -65,7 +65,7 @@ jobs:
matrix:
node-version: [18.x, 19.x, 20.x, 21.x, 22.x]

name: Windows - Build & Test on Node Version ${{ matrix.node-version }}
name: Windows - Node Version ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
permissions:
contents: read
packages: write

name: Deploy
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
- name: Verify Tags and Labels
run: |
echo "## Github Action Summary - Docker CI " >> $GITHUB_STEP_SUMMARY
echo "${{ steps.meta.outputs.tags }}" >> $GITHUB_STEP_SUMMARY
echo "${{ steps.meta.outputs.tags }} " >> $GITHUB_STEP_SUMMARY
echo "${{ steps.meta.outputs.labels }} " >> $GITHUB_STEP_SUMMARY
echo "*** VERIFICATION COMPLETED *** "
Expand Down
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ RUN pnpm i
COPY . .

# Build the project, ensuring it compiles to the dist directory
RUN pnpm run build
RUN pnpm run build || exit 1

# Check if dist/index.js exists and list files in the dist directory
RUN ls -al ./dist
RUN ls -al dist || echo "dist directory not found"

# Start the application
ENTRYPOINT ["node", "/dist/index.js"]
# Start the application with a relative path
ENTRYPOINT ["node", "./dist/index.js"]

# Labels
LABEL \
"name"="Auto Issue Action" \
"homepage"="https://github.com/marketplace/actions/auto-issue" \
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ outputs:

runs:
using: 'docker'
image: 'Dockerfile'
image: 'docker://ghcr.io/offensive-vk/auto-issue:latest'

0 comments on commit 311155c

Please sign in to comment.