Use GitHub Actions to build Docker image
... then deploy to hub.docker.com .
ADD
.github/workflows/build_aflplusplus_docker.yaml
+name: Publish Docker Images
+on:
+ push:
+ branches: [ stable, dev ]
+ paths:
+ - Dockerfile
+ pull_request:
+ branches: [ stable, dev ]
+ paths:
+ - Dockerfile
+jobs:
+ push_to_registry:
+ name: Push Docker images to Dockerhub
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: Login to Dockerhub
+ uses: docker/login-action@v1
+ with:
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_TOKEN }}
+ - name: Publish afl_for_r2 to Registry
+ uses: docker/build-push-action@v2
+ with:
+ context: .
+ push: true
+ tags: teamconclusion/aflplusplus:latest

Use GitHub Actions to build Docker image

... then deploy to hub.docker.com .

Signed-off-by: Pamplemousse <xav.maso@gmail.com>