From fb3b25f9a944a56a96f8c93cc9f8468ae6858e25 Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Mon, 19 Oct 2020 09:59:55 -0400 Subject: [PATCH] fix(ci): publish latest docker tags (#235) --- .github/workflows/docker-dev.yaml | 18 ------------------ .github/workflows/docker-grpc.yaml | 4 +--- .github/workflows/docker-jsonrpc.yaml | 4 +--- 3 files changed, 2 insertions(+), 24 deletions(-) diff --git a/.github/workflows/docker-dev.yaml b/.github/workflows/docker-dev.yaml index d7b22fb4e..544a58ac0 100644 --- a/.github/workflows/docker-dev.yaml +++ b/.github/workflows/docker-dev.yaml @@ -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 diff --git a/.github/workflows/docker-grpc.yaml b/.github/workflows/docker-grpc.yaml index 1f778c8f8..15eeda029 100644 --- a/.github/workflows/docker-grpc.yaml +++ b/.github/workflows/docker-grpc.yaml @@ -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 diff --git a/.github/workflows/docker-jsonrpc.yaml b/.github/workflows/docker-jsonrpc.yaml index ed70ebce2..b0a011d4f 100644 --- a/.github/workflows/docker-jsonrpc.yaml +++ b/.github/workflows/docker-jsonrpc.yaml @@ -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