Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
chore(deps): bump ion-sfu to v1.0.9 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Sep 9, 2020
1 parent 206230d commit e79b05f
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 56 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/docker-dev.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: development docker
on:
push:
tags:
- '*'
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: build and push
Expand All @@ -15,10 +18,9 @@ jobs:
run: docker build --tag pionwebrtc/ion-avp:latest-devel .

- name: login
if: github.event_name == 'push'
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: tag
run: docker tag pionwebrtc/ion-avp:latest-devel pionwebrtc/ion-avp:"${{ github.event.release.tag_name }}"-devel

- name: push
run: docker push pionwebrtc/ion-avp:"${{ github.event.release.tag_name }}"-devel
if: github.event_name == 'push'
run: docker push pionwebrtc/ion-avp:latest-devel
14 changes: 11 additions & 3 deletions .github/workflows/docker-grpc.yaml
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
24 changes: 24 additions & 0 deletions cmd/server/grpc/Dockerfile
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"]
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ go 1.13
require (
github.com/at-wat/ebml-go v0.11.0
github.com/golang/protobuf v1.4.2
github.com/pion/ion-sfu v1.0.6
github.com/pion/ion-sfu v1.0.9
github.com/pion/rtp v1.6.0
github.com/pion/webrtc/v3 v3.0.0-beta.4.0.20200902134452-789ff0975342
github.com/pion/webrtc/v3 v3.0.0-beta.4.0.20200908143909-40eb1f2404c0
github.com/rs/zerolog v1.19.0
github.com/spf13/viper v1.7.1
google.golang.org/grpc v1.32.0
Expand Down
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ github.com/pion/ice/v2 v2.0.1 h1:uiWR6YOm6SaFAGET/fEdDsb+P67UD05Xig0sx0rP268=
github.com/pion/ice/v2 v2.0.1/go.mod h1:e9mMZiQdz7f4uSp8umiOMa7JSAfmmtef3g4g29BkY5E=
github.com/pion/ion-sfu v1.0.6 h1:LdYuKY4zj6M/72+bh3HpFo+TBVXtx8xrwcrkAWt7DT0=
github.com/pion/ion-sfu v1.0.6/go.mod h1:fRetdp3x0yvCEaQvA9aZoJoea4UaWwpCS6iL+U/ZXJ4=
github.com/pion/ion-sfu v1.0.9 h1:BnEkpkd1JfT9o3p0h5w5c1msnLIzwECQz7LlIAViifQ=
github.com/pion/ion-sfu v1.0.9/go.mod h1:sxNFqdQZJWaujazY+HEmgPDsYBYXLP2PpFk2eUBcs4s=
github.com/pion/logging v0.2.2 h1:M9+AIj/+pxNsDfAT64+MAVgJO0rsyLnoJKCqf//DoeY=
github.com/pion/logging v0.2.2/go.mod h1:k0/tDVsRCX2Mb2ZEmTqNa7CWsQPc+YYCB7Q+5pahoms=
github.com/pion/mdns v0.0.4 h1:O4vvVqr4DGX63vzmO6Fw9vpy3lfztVWHGCQfyw0ZLSY=
Expand Down Expand Up @@ -279,6 +281,7 @@ github.com/pion/udp v0.1.0 h1:uGxQsNyrqG3GLINv36Ff60covYmfrLoxzwnCsIYspXI=
github.com/pion/udp v0.1.0/go.mod h1:BPELIjbwE9PRbd/zxI/KYBnbo7B6+oA6YuEaNE8lths=
github.com/pion/webrtc/v3 v3.0.0-beta.4.0.20200902134452-789ff0975342 h1:Q4vocNHLyy8V8jeSPoqidX5IpJbbcrQAyRrEXmIx68U=
github.com/pion/webrtc/v3 v3.0.0-beta.4.0.20200902134452-789ff0975342/go.mod h1:0OXkpoNfLp1pgvyu4zF3zkkoyj82LQEJCqnG9wQEc7o=
github.com/pion/webrtc/v3 v3.0.0-beta.4.0.20200908143909-40eb1f2404c0/go.mod h1:0OXkpoNfLp1pgvyu4zF3zkkoyj82LQEJCqnG9wQEc7o=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand Down
45 changes: 0 additions & 45 deletions scripts/release.sh

This file was deleted.

0 comments on commit e79b05f

Please sign in to comment.