File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,10 @@ WORKDIR /app
55# Copies your code file from your action repository to the filesystem path `/` of the container
66COPY . /app/
77
8- # Install pipenv
9- RUN chmod +x entrypoint.sh && apt-get update -y && curl -LsSf https://astral.sh/uv/install.sh | sh
8+ # Install uv
9+ RUN chmod +x entrypoint.sh && apt-get update -y && pip install uv
10+ # Add uv to PATH
11+ ENV PATH="/root/.local/bin:$PATH"
1012
1113# Code file to execute when the docker container starts up (`entrypoint.sh`)
1214ENTRYPOINT ["/app/entrypoint.sh" ]
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# installng pipenv and creating pipenv venv
4- cd /app && pipenv install --skip-lock
4+ cd /app && uv sync && uv tree
55
66# Capture arguments
77GITHUB_APP_ID=" $1 "
@@ -10,6 +10,7 @@ OWNER="$3"
1010REPOSITORIES=" $4 "
1111
1212# Build the command based on available parameters
13+ uv --version
1314CMD=" uv run python3 /app/generate_jwt.py --github_app_id \" $GITHUB_APP_ID \" --github_app_private_key \" $GITHUB_APP_PRIVATE_KEY \" "
1415
1516if [ -n " $OWNER " ]; then
You can’t perform that action at this time.
0 commit comments