Skip to content

Commit

Permalink
fix(docker): remove ref to removed build
Browse files Browse the repository at this point in the history
  • Loading branch information
rishikanthc committed Oct 19, 2024
1 parent cdd37ed commit 9913580
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/github-actions-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Cache compiled binaries
uses: actions/cache@v3
with:
path: |
/app/whisper.cpp
/usr/local/bin/
/usr/local/share/man/man1/
/usr/local/share/man/man5/
key: ${{ runner.os }}-build-${{ hashFiles('Dockerfile') }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
Expand All @@ -41,12 +31,6 @@ jobs:
file: ./Dockerfile.debian
tags: |
ghcr.io/rishikanthc/scriberr:nightly
cache-from: |
type=registry,ref=ghcr.io/rishikanthc/scriberr:nightly-linux-amd64
type=registry,ref=ghcr.io/rishikanthc/scriberr:nightly-linux-arm64
cache-to: |
type=registry,ref=ghcr.io/rishikanthc/scriberr:nightly-linux-amd64,mode=max,compress=true
type=registry,ref=ghcr.io/rishikanthc/scriberr:nightly-linux-arm64,mode=max,compress=true
- name: Verify multi-platform image
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ENV BODY_SIZE_LIMIT=512M

# COPY --from=build_ml /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
# COPY --from=build_ml /usr/local/bin /usr/local/bin
COPY --from=build_ml /install /usr/local
# COPY --from=build_ml /install /usr/local

RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
Expand Down

0 comments on commit 9913580

Please sign in to comment.