Smaller docker image & action change.
This commit is contained in:
@@ -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
@@ -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/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user