chore: Fisherman network deployments (#17737) #1367
This file contains hidden or 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: Build Fuzzing Container | |
on: | |
push: | |
branches: | |
- next | |
workflow_dispatch: | |
inputs: | |
commit: | |
description: "Git commit SHA to build (leave empty for latest)" | |
required: false | |
default: "" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Log in to GitHub Container Registry | |
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 | |
with: | |
context: container-builds/fuzzing-container/src/ | |
push: true | |
tags: | | |
ghcr.io/aztecprotocol/fuzzing-container:latest | |
ghcr.io/aztecprotocol/fuzzing-container:${{ github.sha }} | |
build-args: | | |
COMMIT=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.commit || github.sha }} |