This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): bump ion-sfu to v1.0.9 (#45)
- Loading branch information
Showing
6 changed files
with
48 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
name: grpc docker | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
branches: | ||
- master | ||
release: | ||
types: [published] | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
name: build and push | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: build | ||
run: docker build --tag pionwebrtc/ion-avp:latest-grpc -f cmd/server/grpc/Dockerfile . | ||
|
||
- name: login | ||
if: github.event_name == 'release' | ||
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | ||
|
||
- name: tag | ||
if: github.event_name == 'release' | ||
run: docker tag pionwebrtc/ion-avp:latest-grpc pionwebrtc/ion-avp:"${{ github.event.release.tag_name }}"-grpc | ||
|
||
- name: push | ||
if: github.event_name == 'release' | ||
run: docker push pionwebrtc/ion-avp:"${{ github.event.release.tag_name }}"-grpc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM golang:1.14.8-stretch | ||
|
||
ENV GO111MODULE=on | ||
|
||
WORKDIR $GOPATH/src/github.com/pion/ion-avp | ||
|
||
COPY go.mod go.sum ./ | ||
RUN cd $GOPATH/src/github.com/pion/ion-avp && go mod download | ||
|
||
COPY pkg/ $GOPATH/src/github.com/pion/ion-avp/pkg | ||
COPY cmd/ $GOPATH/src/github.com/pion/ion-avp/cmd | ||
|
||
WORKDIR $GOPATH/src/github.com/pion/ion-avp/cmd/server/grpc | ||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /avp . | ||
|
||
FROM alpine:3.12.0 | ||
|
||
RUN apk --no-cache add ca-certificates | ||
COPY --from=0 /avp /usr/local/bin/avp | ||
|
||
COPY config.toml /configs/avp.toml | ||
|
||
ENTRYPOINT ["/usr/local/bin/avp"] | ||
CMD ["-c", "/configs/avp.toml"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.