Compare commits

...
This repository has been archived on 2025-08-08. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.

8 commits

2 changed files with 33 additions and 14 deletions

View file

@ -25,30 +25,49 @@ jobs:
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Login to Container Registry
uses: docker/login-action@v2
with:
registry: git.depeuter.dev
username: ${{ gitea.actor }}
username: ${{ github.actor }}
password: ${{ secrets.CI_TOKEN }}
- name: Get Meta
id: meta
- name: Get Meta for frontend
id: meta_frontend
uses: docker/metadata-action@v5
with:
images: git.depeuter.dev/${{ gitea.repository }}
images: git.depeuter.dev/${{ github.repository }}/frontend
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
- name: Build and push frontend
id: docker_build_frontend
uses: docker/build-push-action@v4
with:
context: .
context: ./frontend
file: ./frontend/Dockerfile
push: true
tags: ${{ steps.meta.output.tags }}
label: ${{ steps.meta.output.labels }}
tags: ${{ steps.meta_frontend.outputs.tags }}
labels: ${{ steps.meta_frontend.outputs.labels }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
- name: Get Meta for backend
id: meta_backend
uses: docker/metadata-action@v5
with:
images: git.depeuter.dev/${{ github.repository }}/backend
- name: Build and push backend
id: docker_build_backend
uses: docker/build-push-action@v4
with:
context: ./backend
file: ./backend/Dockerfile
push: true
tags: ${{ steps.meta_backend.outputs.tags }}
labels: ${{ steps.meta_backend.outputs.labels }}
- name: Frontend image digest
run: echo ${{ steps.docker_build_frontend.outputs.digest }}
- name: Backend image digest
run: echo ${{ steps.docker_build_backend.outputs.digest }}

View file

@ -187,7 +187,7 @@ class QueueManager {
try {
const timeout: number = (item.timeout ?? TIMEOUT) * item.song.trackCount;
const result: DownloadResult = await this.lucida.download(item.song.url, '/tmp', timeout, current);
const result: DownloadResult = await this.lucida.download(item.song.url, '/data', timeout, current);
if (!result.success && (item.retries ?? 0) + 1 < RETRIES) {
item.retries = (item.retries ?? 0) + 1;