Skip to content

Commit

Permalink
Update docker usage for args
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <lewijacn@amazon.com>
  • Loading branch information
lewijacn committed Sep 18, 2024
1 parent 85ebcd3 commit 884e635
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ COPY /webhook-trigger /webhook-trigger
COPY entrypoint.sh /webhook-trigger
WORKDIR /webhook-trigger

RUN chmod +x entrypoint.sh
RUN python3 -m pip install --upgrade pipenv && pipenv install --deploy

CMD ["./entrypoint.sh"]
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ inputs:
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.jenkins_url }}
- ${{ inputs.api_token }}
- ${{ inputs.job_name }}
- ${{ inputs.job_params }}
- ${{ inputs.job_timeout_minutes }}

branding:
icon: 'check-circle'
Expand Down

0 comments on commit 884e635

Please sign in to comment.