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 5562165
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,12 @@ 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
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 5562165

Please sign in to comment.