chore: Add testing/Dockerfile to the CI build.

This commit is contained in:
iphydf 2022-03-08 20:31:39 +00:00
parent 001aa63401
commit 9df7bf7ccd
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -26,26 +26,6 @@ jobs:
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }} if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }}
run: docker push toxchat/bootstrap-node:"$(other/print-version)" 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: docker-bootstrap-node-websocket:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [docker-bootstrap-node] needs: [docker-bootstrap-node]
@ -67,6 +47,46 @@ jobs:
cache-from: type=registry,ref=toxchat/bootstrap-node:latest-websocket cache-from: type=registry,ref=toxchat/bootstrap-node:latest-websocket
cache-to: type=inline 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: docker-win32:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: