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 47ef82c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,14 @@ 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: |
which go
echo ${RUNNER_TOOL_CACHE}
docker run --rm -v ${RUNNER_TOOL_CACHE}:${RUNNER_TOOL_CACHE} -v ${HOME}:${HOME} -e PATH \
-e WORKSPACE=${{ github.workspace }} --entrypoint /bin/sh sippylabs/rtpproxy:latest -c \
'cd ${WORKSPACE} && go build -o rtp_cluster'

0 comments on commit 47ef82c

Please sign in to comment.