Skip to content

Commit

Permalink
Action Not Working. (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
offensive-vk authored Oct 10, 2024
1 parent 77b5d8f commit 298c4bb
Show file tree
Hide file tree
Showing 7 changed files with 7,430 additions and 765 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
permissions:
contents: read
packages: write

name: Deploy
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -46,11 +46,10 @@ jobs:
tags: |
type=ref,event=pr
type=edge
v5 # Add the specific version tag you want (v5)
latest # Add the latest tag
latest
labels: |
org.opencontainers.image.title=auto-issue
org.opencontainers.image.description=Automated Issue Creator
org.opencontainers.image.description=Automated Issue Creator Github Action
org.opencontainers.image.vendor=Vedansh
- name: Verify Tags and Labels
Expand All @@ -66,6 +65,6 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} # Uses both latest and v5
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
id: new-issue
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN || secrets.BOT_TOKEN }}
github-token: ${{ secrets.BOT_TOKEN || secrets.GITHUB_TOKEN }}
title: "Automated Pull Request from: ${{ github.head_ref }}"
body: |
# Test Action - Pull Request Test
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ COPY package*.json ./

RUN pnpm i

RUN pnpm i --lockfile-only

COPY . .

RUN pnpm run build
RUN pnpm run build && ls -al ./dist

ENTRYPOINT ["node", "./dist/index.js"]

Expand Down
Loading

0 comments on commit 298c4bb

Please sign in to comment.