From 9df7bf7ccd985ed545961b3a7d65141a976841bc Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 8 Mar 2022 20:31:39 +0000 Subject: [PATCH] chore: Add testing/Dockerfile to the CI build. --- .github/workflows/docker.yml | 60 ++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 20 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3348126f..1622775f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -26,26 +26,6 @@ jobs: if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }} run: docker push toxchat/bootstrap-node:"$(other/print-version)" - docker-toxcore-js: - runs-on: ubuntu-latest - steps: - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - name: Login to DockerHub - if: ${{ github.event_name == 'push' }} - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v2 - with: - file: other/emscripten/Dockerfile - push: ${{ github.event_name == 'push' }} - tags: toxchat/toxcore-js:latest - cache-from: type=registry,ref=toxchat/toxcore-js:latest - cache-to: type=inline - docker-bootstrap-node-websocket: runs-on: ubuntu-latest needs: [docker-bootstrap-node] @@ -67,6 +47,46 @@ jobs: cache-from: type=registry,ref=toxchat/bootstrap-node:latest-websocket cache-to: type=inline + docker-fuzzer: + runs-on: ubuntu-latest + steps: + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: ${{ github.event_name == 'push' }} + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v2 + with: + file: testing/Dockerfile + push: ${{ github.event_name == 'push' }} + tags: toxchat/c-toxcore:fuzzer + cache-from: type=registry,ref=toxchat/c-toxcore:fuzzer + cache-to: type=inline + + docker-toxcore-js: + runs-on: ubuntu-latest + steps: + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v1 + - name: Login to DockerHub + if: ${{ github.event_name == 'push' }} + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v2 + with: + file: other/emscripten/Dockerfile + push: ${{ github.event_name == 'push' }} + tags: toxchat/c-toxcore:wasm + cache-from: type=registry,ref=toxchat/c-toxcore:wasm + cache-to: type=inline + docker-win32: runs-on: ubuntu-latest steps: