Changes to build succinct challenger and proposer images for Espresso #5
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 & push EigenDA fault-proof images | |
| on: | |
| pull_request: | |
| branches: | |
| - "**" | |
| workflow_dispatch: {} | |
| jobs: | |
| build-fault-proof-eigenda: | |
| runs-on: ubuntu-24.04-8core | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| # ---------- Proposer (EigenDA) metadata ---------- | |
| - name: Docker meta for proposer-eigenda | |
| id: meta-proposer | |
| uses: docker/metadata-action@v5 | |
| with: | |
| images: ghcr.io/${{ github.repository }}/op-succinct-lite-proposer-eigenda | |
| tags: | | |
| type=ref,event=tag | |
| type=sha | |
| type=raw,value=latest,enable={{is_default_branch}} | |
| # ---------- Challenger (EigenDA) metadata ---------- | |
| - name: Docker meta for challenger-eigenda | |
| id: meta-challenger | |
| uses: docker/metadata-action@v5 | |
| with: | |
| images: ghcr.io/${{ github.repository }}/op-succinct-lite-challenger-eigenda | |
| tags: | | |
| type=ref,event=tag | |
| type=sha | |
| type=raw,value=latest,enable={{is_default_branch}} | |
| # ---------- Login to GHCR ---------- | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| # ---------- Build & push proposer (EigenDA) ---------- | |
| - name: Build and push proposer-eigenda | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: fault-proof/Dockerfile.proposer.eigenda | |
| push: true | |
| tags: ${{ steps.meta-proposer.outputs.tags }} | |
| labels: ${{ steps.meta-proposer.outputs.labels }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| # ---------- Build & push challenger (EigenDA) ---------- | |
| - name: Build and push challenger-eigenda | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| file: fault-proof/Dockerfile.challenger | |
| push: true | |
| tags: ${{ steps.meta-challenger.outputs.tags }} | |
| labels: ${{ steps.meta-challenger.outputs.labels }} | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max |