File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 paths :
66 - ' .github/workflows/build.yml'
7+ - ' Dockerfile'
78 - ' **/*.py'
89 branches :
910 - ' **'
1213 pull_request :
1314 paths :
1415 - ' .github/workflows/build.yml'
16+ - ' Dockerfile'
1517 - ' **/*.py'
1618 workflow_dispatch : ~
1719
@@ -49,11 +51,17 @@ jobs:
4951 runs-on : ubuntu-latest
5052 steps :
5153 - uses : actions/checkout@v4
52- - uses : actions/setup-python@v5
53- with :
54- python-version : ' 3.13'
55- - name : Build Docker image
56- run : docker build . -t justintime50/homebrew-releaser
54+ - name : Build and run Docker image
55+ run : |
56+ docker build . -t justintime50/homebrew-releaser
57+ docker run -e INPUT_SKIP_COMMIT=true \
58+ -e INPUT_DEBUG=true \
59+ -e GITHUB_REPOSITORY=justintime50/homebrew-releaser \
60+ -e INPUT_HOMEBREW_OWNER=justintime50 \
61+ -e INPUT_HOMEBREW_TAP=homebrew-formulas \
62+ -e INPUT_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} \
63+ -e "INPUT_INSTALL=install-instructions-here" \
64+ --rm justintime50/homebrew-releaser
5765 coverage :
5866 if : github.ref == 'refs/heads/main'
5967 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ COPY --chown=linuxbrew:linuxbrew homebrew_releaser homebrew_releaser
44COPY --chown=linuxbrew:linuxbrew setup.py setup.py
55
66RUN brew install python@3.13 \
7- && python3 -m venv venv \
8- && venv/bin/pip install .
7+ && python3 -m venv /home/linuxbrew/ venv \
8+ && /home/linuxbrew/ venv/bin/pip install .
99
10- ENTRYPOINT [ "venv/bin/python3" , "homebrew_releaser/app.py" ]
10+ ENTRYPOINT [ "/home/linuxbrew/ venv/bin/python3" , "/home/linuxbrew/ homebrew_releaser/app.py" ]
You can’t perform that action at this time.
0 commit comments