diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a70ed5c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +# Container image that runs your code +FROM debian + +# Copies your code file from your action repository to the filesystem path `/` of the container +RUN apt-get update && apt-get install -y curl && apt-get install -y git +# Code file to execute when the docker container starts up (`entrypoint.sh`) +ENTRYPOINT ["filters.sh"] \ No newline at end of file diff --git a/action.yml b/action.yml index a5f5f2a..0901945 100644 --- a/action.yml +++ b/action.yml @@ -25,13 +25,12 @@ inputs: required: true runs: - steps: - - run: ${{ github.action_path }}/filters.sh - shell: bash - args: - - ${{ inputs.Destination_NAME }} - - ${{ inputs.Destination_REPO }} - - ${{ inputs.Destination_VERSION }} - - ${{ inputs.GIT_NAME }} - - ${{ inputs.GIT_EMAIL }} - - ${{ inputs.REPO_BRANCH }} + using: "docker" + image: "Dockerfile" + args: + - ${{ inputs.Destination_NAME }} + - ${{ inputs.Destination_REPO }} + - ${{ inputs.Destination_VERSION }} + - ${{ inputs.GIT_NAME }} + - ${{ inputs.GIT_EMAIL }} + - ${{ inputs.REPO_BRANCH }}