Skip to content

Commit

Permalink
fix docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Jun 6, 2023
1 parent 7cca7c3 commit ea14ce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-ggml-cpp-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Copy GPU artifact from Docker container
run: |
docker cp my-artifact-builder:/build/dist/ctransformers-${{ steps.separate.outputs.prefix }}-cp38-cp38-linux_x86_64.whl ./ctransformers-${{ steps.separate.outputs.prefix }}-cp38-cp38-linux_x86_64.whl
docker cp artifact-builder:/build/dist/ctransformers-${{ steps.separate.outputs.prefix }}-cp38-cp38-linux_x86_64.whl ./ctransformers-${{ steps.separate.outputs.prefix }}-cp38-cp38-linux_x86_64.whl
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/build-llama-cpp-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@ jobs:
VERSION=$(echo ${{ steps.get_version.outputs.version }} | rev | cut -d'-' -f2- | rev)
echo "::set-output name=prefix::$VERSION"
- name: Build Docker image
run: docker build . -t artifact-builder -f Dockerfile-llama-cpp-wheel

- name: Build Docker image
run: docker build . -t artifact-builder --build-arg LLAMA_CPP_VERSION=${{ steps.separate.outputs.prefix }} -f Dockerfile-llama-cpp-wheel

- name: Copy GPU artifact from Docker container
run: |
docker cp my-artifact-builder:/build/dists/llama_cpp_python-gpu-${{ steps.separate.outputs.prefix }}-cp38-cp38-linux_x86_64.whl ./llama_cpp_python-gpu-${{ steps.separate.outputs.prefix }}-cp38-cp38-linux_x86_64.whl
docker cp artifact-builder:/build/dists/llama_cpp_python-gpu-${{ steps.separate.outputs.prefix }}-cp38-cp38-linux_x86_64.whl ./llama_cpp_python-gpu-${{ steps.separate.outputs.prefix }}-cp38-cp38-linux_x86_64.whl
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ea14ce0

Please sign in to comment.