mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
chore: Add testing/Dockerfile to the CI build.
This commit is contained in:
parent
001aa63401
commit
9df7bf7ccd
60
.github/workflows/docker.yml
vendored
60
.github/workflows/docker.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user