Skip to content

Commit

Permalink
(fix): docker ci
Browse files Browse the repository at this point in the history
adwpc committed Nov 5, 2021
1 parent d29aaeb commit a18bd28
Showing 4 changed files with 37 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-app-room.yaml
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@ jobs:

- name: push
if: github.event_name == 'release'
run: docker push pionwebrtc/ion
run: docker push pionwebrtc/ion:"$TAG"-app-room
2 changes: 1 addition & 1 deletion .github/workflows/docker-islb.yaml
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@ jobs:

- name: push
if: github.event_name == 'release'
run: docker push pionwebrtc/ion
run: docker push pionwebrtc/ion:"$TAG"-islb
2 changes: 1 addition & 1 deletion .github/workflows/docker-sfu.yaml
Original file line number Diff line number Diff line change
@@ -31,4 +31,4 @@ jobs:

- name: push
if: github.event_name == 'release'
run: docker push pionwebrtc/ion
run: docker push pionwebrtc/ion:"$TAG"-sfu
34 changes: 34 additions & 0 deletions .github/workflows/docker-signal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: signal docker
on:
push:
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:latest-signal -f docker/signal.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:latest-signal pionwebrtc/ion:"$TAG"-signal
env:
TAG: ${{ github.event.release.tag_name }}

- name: push
if: github.event_name == 'release'
run: docker push pionwebrtc/ion:"$TAG"-signal

0 comments on commit a18bd28

Please sign in to comment.