diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index e7f9527..0000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM alpine:3.11 - -RUN apk add --no-cache bash -RUN apk --no-cache add git -RUN apk --no-cache add git-lfs -RUN apk --no-cache add jq - - -COPY entrypoint.sh /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] diff --git a/action.yml b/action.yml index 3a4bd83..316c1c6 100644 --- a/action.yml +++ b/action.yml @@ -45,7 +45,17 @@ outputs: fails: description: "Cause of failure, if run failed" runs: - using: 'docker' - image: 'Dockerfile' - args: - - ${{ inputs.path }} + using: 'composite' + steps: + - run: $GITHUB_ACTION_PATH/entrypoint.sh + shell: bash + env: + INPUT_PATH: ${{ inputs.path }} + INPUT_BRANCH: ${{ inputs.branch }} + INPUT_FIRST_PARENT: ${{ inputs.first_parent }} + INPUT_PASS_IF_UNCHANGED: ${{ inputs.pass_if_unchanged }} + INPUT_FETCH_DEPTH: ${{ input.fetch_depth }} + INPUT_SUB_FETCH_DEPTH: ${{ inputs.sub_fetch_depth }} + INPUT_REQUIRE_HEAD: ${{ inputs.require_head }} + INPUT_DiSABLE_PROGRESSION: ${{ input.disable_progression }} + INPUT_EVENT_PATH: ${{ inputs.event_path }}