Skip to content

Commit 6c65c11

Browse files
committed
fix: corrected docker image build process to not rely on dist folder which is cleaned up by python-semantic-release
Signed-off-by: Paul Horton <phorton@sonatype.com>
1 parent dd31888 commit 6c65c11

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
pypi_token: ${{ secrets.PYPI_TOKEN }}
5656

5757
- name: Build Docker Image
58-
id: package_release
5958
env:
6059
REPO: cyclonedx/cyclonedx-python
6160
run: |

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ FROM python:3.10-slim-buster
22

33
ARG VERSION
44

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

0 commit comments

Comments
 (0)