]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Updated docker build.
authorCharles <charles@zyndex.co.uk>
Wed, 5 May 2021 21:45:03 +0000 (22:45 +0100)
committerCharles <charles@zyndex.co.uk>
Wed, 5 May 2021 21:45:03 +0000 (22:45 +0100)
.github/workflows/docker-build-master.yaml
docker/Dockerfile

index de3985375dd3a42c9e785e9ba527eb5b6fa1e647..60ab6048a023574c4465eb0fe2173f3118ed0734 100644 (file)
@@ -34,4 +34,5 @@ jobs:
           push: true
           tags: registry.nova.do/shairport-sync:unstable-${{ env.BRANCH }}
           build-args: |
-            BRANCH=${{ env.BRANCH }}
\ No newline at end of file
+            BRANCH=${{ env.BRANCH }}
+          ssh: ${{ secrets.SSH_PRIVATE_KEY }}
\ No newline at end of file
index 31f00d496bc34ba5cb5770d96b6ce59d4be25f6a..0538264254e51047dd2e6addc0c567109c224c31 100644 (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