Skip to content

Commit

Permalink
Run in docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 5, 2023
1 parent f384aea commit 7e28c3c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@ jobs:
with:
go-version: 1.21.1

- name: Pull and run build in Docker container
run: |
docker pull sippylabs/rtpproxy:latest
- name: Build
run: make
run: |
docker run --rm -v ${{ github.workspace }}:/workspace -e PATH="${PATH}" -v /usr/local/go:/usr/local/go --entrypoint /bin/sh sippylabs/rtpproxy:latest -c "cd /workspace && go build -o rtp_cluster"

0 comments on commit 7e28c3c

Please sign in to comment.