Updated docker build.

This commit is contained in:
Charles
2021-05-05 22:45:03 +01:00
parent b581d0459f
commit 9ae77b9841
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -34,4 +34,5 @@ jobs:
push: true
tags: registry.nova.do/shairport-sync:unstable-${{ env.BRANCH }}
build-args: |
BRANCH=${{ env.BRANCH }}
BRANCH=${{ env.BRANCH }}
ssh: ${{ secrets.SSH_PRIVATE_KEY }}
+2 -2
View File
@@ -50,7 +50,7 @@ COPY --from=builder-alac /usr/local/lib/libalac.* /usr/local/lib/
COPY --from=builder-alac /usr/local/lib/pkgconfig/alac.pc /usr/local/lib/pkgconfig/alac.pc
COPY --from=builder-alac /usr/local/include /usr/local/include
RUN git clone git@github.com:charlesomer/nqptp.git
RUN --mount=type=ssh git clone git@github.com:charlesomer/nqptp.git
WORKDIR /nqptp
# Use development branch for now.
RUN git checkout development
@@ -61,7 +61,7 @@ RUN make
RUN make install
WORKDIR /
RUN git clone git@github.com:aillwee/shairport-sync.git
RUN --mount=type=ssh git clone git@github.com:aillwee/shairport-sync.git
WORKDIR /shairport-sync
RUN git checkout "$SHAIRPORT_SYNC_BRANCH"
RUN git pull