Skip to content

Commit

Permalink
feat: include version in image
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcurts authored Feb 19, 2024
1 parent cb3cfca commit d2e40a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Write VERSION file
run: echo ${{ github.event.release.tag_name }} > VERSION
- name: Update pyproject.toml
run: sed -i 's/0\.0\.0/${{ github.event.release.tag_name }}/' pyproject.toml
- name: Login to Registry
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ENV PATH="/root/.local/bin:${PATH}"
COPY --from=prep /build/bowtie2/* /usr/local/bin/
COPY --from=prep /build/pigz-2.8/pigz /usr/local/bin/pigz
COPY --from=rust /build/target/wheels/count_nucleotides_and_seqs*.whl ./
COPY workflow.py pyproject.toml poetry.lock ./
COPY workflow.py pyproject.toml poetry.lock VERSION* ./
RUN poetry export > requirements.txt
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
Expand Down

0 comments on commit d2e40a2

Please sign in to comment.