diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 89ff25f..6242841 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -85,6 +85,8 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} target: prod + build-args: | + app_path=/muse - name: 🍱 Upload package artifact uses: actions/upload-artifact@v4 with: diff --git a/Dockerfile b/Dockerfile index ec2bf25..293520b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM cristianpb/mopidy-base as muse ARG app_path # Base dir /app -WORKDIR /$app_path +WORKDIR $app_path COPY mopidy_muse/mopidy.conf /root/.config/mopidy.conf COPY LICENSE ./ @@ -23,7 +23,7 @@ CMD ["mopidy"] FROM cristianpb/mopidy-base as prod # Base dir /app -WORKDIR /muse +WORKDIR $app_path COPY mopidy_muse/mopidy.conf /root/.config/mopidy.conf COPY LICENSE ./