Skip to content

Commit

Permalink
Update github-actions-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rishikanthc authored Oct 16, 2024
1 parent df7b394 commit 974305c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/github-actions-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,13 @@ 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:
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/rishikanthc/scriberr:nightly
cache-from: type=registry,ref=ghcr.io/rishikanthc/scriberr:nightly
cache-to: type=registry,ref=ghcr.io/rishikanthc/scriberr:nightly,mode=max
- name: Verify multi-platform image
run: |
Expand Down

0 comments on commit 974305c

Please sign in to comment.