Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat(action): use composite action for semantic release (#692)"
This reverts commit 4648d87.
- Loading branch information
1 parent
9c5bbe0
commit f145257
Showing
3 changed files
with
58 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This Dockerfile is only for GitHub Actions | ||
FROM python:3.10-bullseye | ||
|
||
RUN set -ex; \ | ||
apt-get update; \ | ||
apt-get install -y --no-install-recommends \ | ||
git-lfs | ||
|
||
# install backported stable version of git, which supports ssh signing | ||
RUN echo "deb http://deb.debian.org/debian bullseye-backports main" >> /etc/apt/sources.list; \ | ||
apt-get update;\ | ||
apt-get install -y git/bullseye-backports | ||
|
||
ENV PYTHONPATH /semantic-release | ||
|
||
COPY . /semantic-release | ||
|
||
RUN cd /semantic-release && \ | ||
python -m venv /semantic-release/.venv && \ | ||
/semantic-release/.venv/bin/pip install . | ||
|
||
RUN /semantic-release/.venv/bin/python -m semantic_release --help | ||
|
||
ENTRYPOINT ["/semantic-release/action.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters