Skip to content

Commit

Permalink
fixup! Adding metadata, modifying file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhoyer committed Aug 16, 2024
1 parent 0f39650 commit a210aa3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
- name: Build the web image
run: |
APP_VERSION=$(hatch version)
buildah bud -t tmt-web:latest --build-arg PYTHON_VERSION=${{ matrix.python-version }} --build-arg APP_VERSION=${APP_VERSION} .
buildah bud -t tmt-web:latest --build-arg PYTHON_VERSION=${{ matrix.python-version }} --build-arg APP_VERSION=$(hatch version) .
- name: Create Podman pod
run: |
Expand Down
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY ./src/ /app/src
COPY ./pyproject.toml /app/pyproject.toml

RUN pip install hatch-vcs
RUN pip install .
RUN SETUPTOOLS_SCM_PRETEND_VERSION=$APP_VERSION pip install .

COPY /entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
Expand Down

0 comments on commit a210aa3

Please sign in to comment.