Skip to content

Commit

Permalink
fix: path for the default changelog template
Browse files Browse the repository at this point in the history
  • Loading branch information
panpuchkov committed Dec 24, 2023
1 parent c1d306c commit 29b027e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM python:3.12-alpine as build

ENV SEMVER_HELPER_TEMPLATE_CHANGELOG="/pygitver/templates/changelog.tmpl"
ENV SEMVER_HELPER_ROOT="/pygitver"

# Make sure we use the virtualenv:
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
Expand All @@ -14,6 +11,9 @@ RUN pip install --no-cache-dir -U pip \

FROM python:3.12-alpine

ENV PYGITVER_TEMPLATE_CHANGELOG="/pygitver/templates/changelog.tmpl"
ENV PYGITVER_ROOT="/pygitver"

# Install dependencies
RUN apk add --no-cache git openssh \
&& ln -s /pygitver/pygitver /usr/local/bin/pygitver
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ v1.0.0

* Take as an example: `./src/templates/changelog.tmpl`
* Place somewhere in your project custom template
* Send environment variable `SEMVER_HELPER_TEMPLATE_CHANGELOG` to docker
* Send environment variable `PYGITVER_TEMPLATE_CHANGELOG` to docker
on run with full template path in Docker (usually `/app/...`)

### Development
Expand Down

0 comments on commit 29b027e

Please sign in to comment.