Skip to content

Commit

Permalink
Add debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Jul 24, 2024
1 parent d54a2b1 commit 14107d0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/rtpproxy_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -475,13 +475,13 @@ jobs:
cache-from: ${{ env.CACHE_SPEC }}
cache-to: ${{ env.CACHE_SPEC }},mode=max

- name: Save Docker image
uses: docker/build-push-action@v6
with:
file: ./docker/Dockerfile.export_ccache
build-args: BASE_IMAGE=${{ env.LOCAL_REPO }}:latest
platforms: ${{ env.PLATFORMS }}
outputs: type=tar,dest=/tmp/ccache_export.tar
# - name: Save Docker image
# uses: docker/build-push-action@v6
# with:
# file: ./docker/Dockerfile.export_ccache
# build-args: BASE_IMAGE=${{ env.LOCAL_REPO }}:latest
# platforms: ${{ env.PLATFORMS }}
# outputs: type=tar,dest=/tmp/ccache_export.tar

- name: Push Docker image
uses: docker/build-push-action@v6
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.push
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ WORKDIR /
# rm -rf /mnt/rtpproxy /mnt/var/db/cache/* /mnt/mnt && \
# cp -Rp /mnt/ /
COPY --from=build --exclude=/rtpproxy/ --exclude=/var/db/cache/ \
--exclude=/etc/alternatives/ / /
--link / /

ENTRYPOINT ["/usr/local/bin/rtpproxy", "-fF"]
3 changes: 3 additions & 0 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ ccache --show-stats

apt-get -y remove ${BUILD_DEPS}
apt-get -y autoremove

find / -xdev -xtype l
find / -xdev -xtype l -delete

0 comments on commit 14107d0

Please sign in to comment.