Release CI triggered from @anodar of release-testing #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release CI | |
run-name: Release CI triggered from @${{ github.actor }} of ${{ github.head_ref }} | |
on: | |
workflow_dispatch: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
build_and_run: | |
runs-on: ubuntu-8 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
driver-opts: network=host | |
- name: Cache Docker layers | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }} | |
restore-keys: ${{ runner.os }}-buildx- | |
- name: Check PR Label For Release label | |
if: ${{ !contains(github.event.*.labels.*.name, 'release') }} | |
run: | | |
echo "Not a release candidate. Skipping workflow." | |
exit 0 | |
- name: Build nitro-fuzzer Docker Image | |
run: docker build --target nitro-fuzzer -t nitro-fuzzer . | |
- name: Run Docker Container | |
run: docker run nitro-fuzzer |