1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 18:18:13 +00:00

Re Dockerfile

This commit is contained in:
minoplhy 2021-08-01 09:59:11 +07:00
parent d0f2dce57f
commit 1b17430b4f
2 changed files with 16 additions and 10 deletions

7
Dockerfile Normal file
View File

@ -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"]

View File

@ -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 }}