Merge pull request #120 from ethpandaops/feat/7594-config #251
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: Build docker image | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
prepare: | |
runs-on: ubuntu-latest | |
outputs: | |
platforms: ${{ steps.setup.outputs.platforms }} | |
tag: ${{ steps.setup.outputs.tag }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare Matrix | |
id: setup | |
uses: ./.github/actions/prepare | |
deploy: | |
needs: | |
- prepare | |
runs-on: ${{ matrix.runner }} | |
continue-on-error: true | |
strategy: | |
matrix: | |
include: ${{fromJson(needs.prepare.outputs.platforms)}} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/deploy | |
with: | |
platform: ${{ matrix.platform }} | |
tag: ${{ needs.prepare.outputs.tag }} | |
DOCKER_USERNAME: "${{ secrets.DOCKER_USERNAME }}" | |
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}" | |
manifest: | |
needs: | |
- prepare | |
- deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/manifest | |
with: | |
tag: ${{ needs.prepare.outputs.tag }} | |
repository: ethpandaops/ethereum-genesis-generator | |
platforms: ${{ needs.prepare.outputs.platforms }} | |
DOCKER_USERNAME: "${{ secrets.DOCKER_USERNAME }}" | |
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}" |