Skip to content

Commit

Permalink
fix(ci): publish latest docker tags (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Oct 19, 2020
1 parent cae62b4 commit fb3b25f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/docker-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,6 @@ on:
branches:
- master
jobs:
build:
name: development
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v2

- name: build
run: docker build --tag pionwebrtc/ion-sfu:latest-devel .

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

- name: push
if: github.event_name == 'push'
run: docker push pionwebrtc/ion-sfu:latest-devel

build:
name: protoc
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/docker-grpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,4 @@ jobs:

- name: push
if: github.event_name == 'release'
run: docker push pionwebrtc/ion-sfu:"$TAG"-grpc
env:
TAG: ${{ github.event.release.tag_name }}
run: docker push pionwebrtc/ion-sfu
4 changes: 1 addition & 3 deletions .github/workflows/docker-jsonrpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,4 @@ jobs:

- name: push
if: github.event_name == 'release'
run: docker push pionwebrtc/ion-sfu:"$TAG"-jsonrpc
env:
TAG: ${{ github.event.release.tag_name }}
run: docker push pionwebrtc/ion-sfu

0 comments on commit fb3b25f

Please sign in to comment.