File tree Expand file tree Collapse file tree 5 files changed +25
-45
lines changed Expand file tree Collapse file tree 5 files changed +25
-45
lines changed Original file line number Diff line number Diff line change 1+ LICENSE
2+ github-authentication.py
3+ README.md
Original file line number Diff line number Diff line change @@ -158,3 +158,4 @@ cython_debug/
158158# and can be added to the global gitignore or merged into this file. For a more nuclear
159159# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160160.idea /
161+ github-authentication.py
Original file line number Diff line number Diff line change 1+ # Container image that runs your code
2+ FROM python:3.10-slim-bullseye
3+
4+ WORKDIR /app
5+ # Copies your code file from your action repository to the filesystem path `/` of the container
6+ COPY . /app/
7+
8+ # Install pipenv
9+ RUN chmod +x entrypoint.sh && apt-get update -y && pip install pipenv
10+
11+ # Code file to execute when the docker container starts up (`entrypoint.sh`)
12+ ENTRYPOINT ["/app/entrypoint.sh" ]
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # installng pipenv and creating pipenv venv
4+ cd /app && pipenv install --skip-lock
5+
6+ # run python program to generate token
7+ pipenv run python3 /app/generate_jwt.py --github_app_id $1 --github_app_private_key $2
8+
9+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments