Smaller docker image & action change.

This commit is contained in:
Charles
2021-05-13 02:45:29 +01:00
parent a3a7fb4849
commit 9f6f88d8d0
2 changed files with 7 additions and 8 deletions
@@ -1,11 +1,11 @@
# Pushes to tag 'unstable-BRANCH'.
# Releases are pushed to latest and tagged - see docker-build-releases.yaml.
name: Build and push docker image based on master branch.
name: Build and push docker image based on specified branches.
on:
push:
branches: [ master, development ]
branches: [ master, development, charles-dev ]
jobs:
main:
+5 -6
View File
@@ -52,7 +52,7 @@ COPY --from=builder-alac /usr/local/include /usr/local/include
# TODO: Remove when no longer pulling from private repos.
RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
RUN --mount=type=ssh,id=github git clone git@github.com:charlesomer/nqptp.git
RUN --mount=type=ssh,id=github git clone git@github.com:mikebrady/nqptp.git
WORKDIR /nqptp
# Use development branch for now.
RUN git checkout development
@@ -103,13 +103,12 @@ RUN apk add \
avahi \
libconfig \
libsndfile \
mosquitto-libs \
mosquitto \
su-exec \
libuuid \
ffmpeg-dev \
ffmpeg-libs \
libsodium-dev \
libplist-dev
ffmpeg \
libsodium \
libplist
RUN rm -rf /lib/apk/db/*