Skip to content

Commit

Permalink
Update GitHub Actions workflow and README
Browse files Browse the repository at this point in the history
- Updated .gitignore to exclude .vscode directory
- Modified README.md example command to use 'mqdish-multithreaded' topic
- Upgraded GitHub Actions workflow:
  * Updated checkout, QEMU, and Buildx actions to latest versions
  * Modified build platforms and image versions
  * Simplified and improved build configuration
- Removed pre-compiled mqdish binary from bin directory
  • Loading branch information
YN committed Jan 27, 2025
1 parent 32d2382 commit 67e8131
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/workers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ on:
env:
RELEASE_VERSION: ${{ github.ref_name }}
MQDISH_VERSION: ${{ inputs.mqdish_version || '1.2.0' }}
BASE_IMAGE_VERSION: ${{ inputs.base_image_version || '1.2.0' }}
ALPINE_VERSION: ${{ inputs.alpine_version || '3.18' }}
BASE_IMAGE_VERSION: ${{ inputs.base_image_version || 'latest' }}
ALPINE_VERSION: ${{ inputs.alpine_version || '3' }}
FFMPEG_IMAGE_VERSION: ${{ inputs.ffmpeg_image_version || 'latest' }}
jobs:
buildx:
Expand All @@ -36,28 +36,32 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
image: tonistiigi/binfmt:qemu-v8.1.5
cache-image: true
platforms: all

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
platforms: linux/arm64/v8,linux/arm/v7,linux/ppc64le,linux/amd64,linux/386
platforms: linux/arm64/v8,linux/arm/v7,linux/ppc64le,linux/amd64
version: v0.19.0
cache-binary: true
install: true
use: true

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

- name: Build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
# platforms: linux/arm64/v8,linux/arm/v7,linux/amd64
platforms: linux/arm64/v8,linux/arm/v7,linux/ppc64le,linux/amd64
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/mqdish-worker-full:${{ env.RELEASE_VERSION }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Here are some examples of real use case usage with samba NAS storage mounted to
### Unpack all archives detecting directories automatically

```bash
dispatch --topic mqdish-single -- extract-archives --recursive --trashbin /mnt/trashbin/aria-downloads /mnt/aria-downloads
dispatch --topic mqdish-multithreaded -- extract-archives --recursive --trashbin /mnt/trashbin/aria-downloads /mnt/aria-downloads
```

### Convert all images to HEIC with 30% quality
Expand Down
Binary file removed bin/target/x86_64-unknown-linux-musl/release/mqdish
Binary file not shown.

0 comments on commit 67e8131

Please sign in to comment.