From 884e635eaa74bc8a0ae74e315339d50a5a7d0553 Mon Sep 17 00:00:00 2001 From: Tanner Lewis Date: Wed, 18 Sep 2024 15:22:02 -0500 Subject: [PATCH] Update docker usage for args Signed-off-by: Tanner Lewis --- Dockerfile | 1 - action.yml | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 36487ec..b6f0f44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/action.yml b/action.yml index 16db9c2..b32a2a1 100644 --- a/action.yml +++ b/action.yml @@ -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'