about summary refs log tree commit diff
path: root/.github/workflows/build_aflplusplus_docker.yaml
blob: be8d795d131498f6f08846469851d1b5c459471e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Publish Docker Images
on:
  push:
    branches: [ stable ]
    paths:
    - Dockerfile
  pull_request:
    branches: [ stable ]
    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 aflpp to Registry
      uses: docker/build-push-action@v2
      with:
        context: .
        push: true
        tags: aflplusplus/aflplusplus:latest