feat: push both dev and stable
MODIFY
.github/workflows/build_aflplusplus_docker.yaml
.github/workflows/build_aflplusplus_docker.yaml
@@ -2,7 +2,9 @@ name: Publish Docker Images
on:
push:
- branches: [ stable ]
+ branches:
+ - stable
+ - dev
# paths:
# - Dockerfile
@@ -21,10 +23,18 @@ 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:${{ github.ref }}
+ - name: Publish aflpp dev as latest to Registry
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: aflplusplus/aflplusplus:latest
+ if: "${{ github.ref }}" == "dev"

feat: push both dev and stable