Skip to content

Commit

Permalink
OPS: Install python package in docker image from local context
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Oct 8, 2024
1 parent d155501 commit 79890cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
uses: docker/[email protected]
with:
context: .
build-args: VERSION=${{ github.event.inputs.ref }}
platforms: linux/amd64
push: true
tags: octue/check-semantic-version:${{ github.event.inputs.tag }}
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
uses: docker/[email protected]
with:
context: .
build-args: VERSION=${{ needs.tests.outputs.package_version }}
platforms: linux/amd64
push: true
tags: octue/check-semantic-version:${{ needs.tests.outputs.package_version }},octue/check-semantic-version:latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ RUN curl -L https://github.com/idc101/git-mkver/releases/download/v1.3.0/git-mkv
| tar xvz \
&& mv git-mkver /usr/local/bin

ARG VERSION
RUN pip3 install git+https://github.com/octue/check-semantic-version@${VERSION}
COPY . .
RUN pip install -e .

COPY check_semantic_version/entrypoint.sh /entrypoint.sh

Expand Down

0 comments on commit 79890cb

Please sign in to comment.