From e5aa4f0aef05c74a064c3e0878c4663e2e50428f Mon Sep 17 00:00:00 2001 From: Spotizerr Date: Sat, 23 Aug 2025 12:53:37 -0600 Subject: [PATCH 1/5] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8ff2833..7231a57 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ A self-hosted music download manager with a lossless twist. Download everything If you self-host a music server with other users than yourself, you almost certainly have realized that the process of adding requested items to the library is not without its friction. No matter how automated your flow is, unless your users are tech-savvy enough to do it themselves, chances are the process always needs some type of manual intervention from you, be it to rip the CDs yourself, tag some random files from youtube, etc. No more! Spotizerr allows for your users to access a nice little frontend where they can add whatever they want to the library without bothering you. What's that? You want some screenshots? Sure, why not: +## How do I start? + +Docs are available at: https://spotizerr.rtfd.io +
Main page image From 09a623f98ba98d86957fc44bc05c29e8cb2c96be Mon Sep 17 00:00:00 2001 From: Spotizerr Date: Sat, 23 Aug 2025 12:55:27 -0600 Subject: [PATCH 2/5] Update .env.example --- .env.example | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 227381e..8d4b3a5 100644 --- a/.env.example +++ b/.env.example @@ -4,7 +4,7 @@ ### can leave the defaults as they are. ### ### If you plan on using for a server, -### see [insert docs url] +### see https://spotizerr.rtfd.io ### # Interface to bind to. Unless you know what you're doing, don't change this @@ -56,4 +56,4 @@ GOOGLE_CLIENT_SECRET= # GitHub SSO (get from GitHub Developer Settings) GITHUB_CLIENT_ID= -GITHUB_CLIENT_SECRET= \ No newline at end of file +GITHUB_CLIENT_SECRET= From 8b90c7b75b03c50db8cd6087f4695212e6b131bb Mon Sep 17 00:00:00 2001 From: Spotizerr Date: Sat, 23 Aug 2025 13:07:36 -0600 Subject: [PATCH 3/5] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7231a57..6a980a6 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,6 @@ A self-hosted music download manager with a lossless twist. Download everything If you self-host a music server with other users than yourself, you almost certainly have realized that the process of adding requested items to the library is not without its friction. No matter how automated your flow is, unless your users are tech-savvy enough to do it themselves, chances are the process always needs some type of manual intervention from you, be it to rip the CDs yourself, tag some random files from youtube, etc. No more! Spotizerr allows for your users to access a nice little frontend where they can add whatever they want to the library without bothering you. What's that? You want some screenshots? Sure, why not: -## How do I start? - -Docs are available at: https://spotizerr.rtfd.io -
Main page image @@ -31,6 +27,10 @@ Docs are available at: https://spotizerr.rtfd.io image
+## How do I start? + +Docs are available at: https://spotizerr.rtfd.io + ### Common Issues **Downloads not starting?** From 1016d333ccba513f7570e0ea2f1f07526463b9a1 Mon Sep 17 00:00:00 2001 From: che-pj Date: Sat, 30 Aug 2025 12:24:37 +0200 Subject: [PATCH 4/5] ci(workflows): add pr-build workflow for dev/test container images - Introduces a new GitHub Actions workflow that automatically builds and pushes multi-arch Docker images for pull requests - Images are tagged with the PR number (e.g., dev-pr-123) for easy identification - Uses GHCR as the container registry with proper authentication via GITHUB_TOKEN - Implements BuildKit cache optimization for faster builds - Supports both linux/amd64 and linux/arm64 platforms --- .github/workflows/pr-build.yml | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .github/workflows/pr-build.yml diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml new file mode 100644 index 0000000..f572e76 --- /dev/null +++ b/.github/workflows/pr-build.yml @@ -0,0 +1,50 @@ +name: PR Dev/Test Container + +on: + pull_request: + types: [opened, synchronize, reopened] + +env: + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + +jobs: + build-and-push: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write # ✅ needed for GHCR push + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Login to GHCR + uses: docker/login-action@v2 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + # Extract metadata for PR builds + - name: Extract Docker metadata + id: meta + uses: docker/metadata-action@v4 + with: + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=raw,value=dev-pr-${{ github.event.pull_request.number }} + + # Build and push multi-arch dev image + - name: Build and push + uses: docker/build-push-action@v4 + with: + context: . + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max From 6922b4a5da82c02d0ad37555d4929c1c82f34be9 Mon Sep 17 00:00:00 2001 From: che-pj Date: Sat, 30 Aug 2025 12:59:30 +0200 Subject: [PATCH 5/5] updates --- .github/workflows/pr-build.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index f572e76..f4cea3a 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -3,6 +3,14 @@ name: PR Dev/Test Container on: pull_request: types: [opened, synchronize, reopened] + workflow_dispatch: + inputs: + pr_number: + description: 'Pull request number (optional, for manual runs)' + required: false + branch: + description: 'Branch to build (optional, defaults to PR head or main)' + required: false env: REGISTRY: ghcr.io @@ -13,10 +21,12 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - packages: write # ✅ needed for GHCR push + packages: write steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.event.inputs.branch || github.head_ref || github.ref }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 @@ -28,14 +38,14 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - # Extract metadata for PR builds + # Extract Docker metadata - name: Extract Docker metadata id: meta uses: docker/metadata-action@v4 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=raw,value=dev-pr-${{ github.event.pull_request.number }} + type=raw,value=dev-pr-${{ github.event.inputs.pr_number || github.event.pull_request.number }} # Build and push multi-arch dev image - name: Build and push