diff options
-rw-r--r-- | .github/workflows/build_aflplusplus_docker.yaml | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/.github/workflows/build_aflplusplus_docker.yaml b/.github/workflows/build_aflplusplus_docker.yaml index fa96da8e..a26f31d2 100644 --- a/.github/workflows/build_aflplusplus_docker.yaml +++ b/.github/workflows/build_aflplusplus_docker.yaml @@ -2,9 +2,9 @@ name: Publish Docker Images on: push: - branches: [ stable ] -# paths: -# - Dockerfile + branches: + - stable + - dev jobs: push_to_registry: @@ -21,10 +21,19 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} - - name: Publish aflpp to Registry + - name: Publish aflpp ${{ github.ref }} to Registry uses: docker/build-push-action@v2 with: context: . platforms: linux/amd64,linux/arm64 push: true - tags: aflplusplus/aflplusplus:latest + tags: aflplusplus/aflplusplus:${{ github.ref }} + if: "${{ github.ref }}" == "dev" + - name: Publish aflpp ${{ github.ref }} and latest to Registry + uses: docker/build-push-action@v2 + with: + context: . + platforms: linux/amd64,linux/arm64 + push: true + tags: aflplusplus/aflplusplus:${{ github.ref }},aflplusplus/aflplusplus:latest + if: "${{ github.ref }}" == "stable" |