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 5731d1e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,13 @@ 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 ${{ github.workspace }}:/workspace -e PATH -v ${GOCACHE}:${GOCACHE} -v ${GOENV}:${GOENV} \
-v ${GOPATH}:${GOPATH} -v ${GOROOT}:${GOROOT} --entrypoint /bin/sh sippylabs/rtpproxy:latest -c "cd /workspace && go build -o rtp_cluster"

0 comments on commit 5731d1e

Please sign in to comment.