Skip to content

Commit

Permalink
fix: corrected docker image build process to not rely on dist folde…
Browse files Browse the repository at this point in the history
…r which is cleaned up by python-semantic-release

Signed-off-by: Paul Horton <phorton@sonatype.com>
  • Loading branch information
madpah committed Nov 23, 2021
1 parent dd31888 commit 6c65c11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ jobs:
pypi_token: ${{ secrets.PYPI_TOKEN }}

- name: Build Docker Image
id: package_release
env:
REPO: cyclonedx/cyclonedx-python
run: |
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ FROM python:3.10-slim-buster

ARG VERSION

COPY ./dist /tmp/dist
RUN pip install cyclonedx-bom==${VERSION} --find-links file:///tmp/dist
RUN pip install cyclonedx-bom==${VERSION}
ENTRYPOINT ["cyclonedx-bom"]

0 comments on commit 6c65c11

Please sign in to comment.