Skip to content

Commit

Permalink
Merge pull request #7 from underdog-tech/fix/proper-entrypoint
Browse files Browse the repository at this point in the history
fix: Use a proper combination of ENTRYPOINT/CMD
  • Loading branch information
tarkatronic authored Jun 30, 2023
2 parents b7ffbe4 + 0638003 commit 110c4df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM ghcr.io/underdog-tech/vulnbot:v0.4.1

CMD [ "/vulnbot" "scan" ]
ENTRYPOINT [ "/vulnbot" ]
CMD [ "scan" ]
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ runs:
GITHUB_TOKEN: "${{ inputs.github_token }}"
GITHUB_ORG: "${{ inputs.github_org }}"
args:
- "scan"
- "--config=${{ inputs.config }}"
branding:
icon: play
Expand Down

0 comments on commit 110c4df

Please sign in to comment.