Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 27 additions & 7 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
type=ref,event=tag
type=sha

- name: Docker meta for op-succinct-eigenda
id: meta-succinct-eigenda
- name: Docker meta for op-succinct-celo
id: meta-succinct-celo
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}/op-succinct-eigenda
images: ghcr.io/${{ github.repository }}/op-succinct-celo
tags: |
type=ref,event=tag
type=sha
Expand Down Expand Up @@ -79,13 +79,33 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Build and push op-succinct-eigenda
- name: Build and push op-succinct-celo
uses: docker/build-push-action@v6
with:
context: .
file: validity/Dockerfile.eigenda
file: validity/Dockerfile.celo
push: true
tags: ${{ steps.meta-succinct-eigenda.outputs.tags }}
labels: ${{ steps.meta-succinct-eigenda.outputs.labels }}
tags: ${{ steps.meta-succinct-celo.outputs.tags }}
labels: ${{ steps.meta-succinct-celo.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Docker meta for proposer-celo
id: meta-proposer-celo
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}/proposer-celo
tags: |
type=ref,event=tag
type=sha

- name: Build and push proposer-celo
uses: docker/build-push-action@v6
with:
context: .
file: fault-proof/Dockerfile.proposer.celo
push: true
tags: ${{ steps.meta-proposer-celo.outputs.tags }}
labels: ${{ steps.meta-proposer-celo.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
75 changes: 75 additions & 0 deletions .github/workflows/fault-proof-celo-docker-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Build & push Celo fault-proof images

on:
pull_request:
branches:
- "**"
workflow_dispatch: {}

jobs:
build-fault-proof-celo:
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 (Celo) metadata ----------
- name: Docker meta for proposer-celo
id: meta-proposer
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}/op-succinct-lite-proposer-celo
tags: |
type=ref,event=tag
type=sha
type=raw,value=latest,enable={{is_default_branch}}

# ---------- Challenger (Celo) metadata ----------
- name: Docker meta for challenger-celo
id: meta-challenger
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}/op-succinct-lite-challenger-celo
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 (Celo) ----------
- name: Build and push proposer-celo
uses: docker/build-push-action@v6
with:
context: .
file: fault-proof/Dockerfile.proposer.celo
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 (Celo) ----------
- name: Build and push challenger-celo
uses: docker/build-push-action@v6
with:
context: .
file: fault-proof/Dockerfile.challenger.celo
push: true
tags: ${{ steps.meta-challenger.outputs.tags }}
labels: ${{ steps.meta-challenger.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ config.alloy

# Generated audit forkdiffs
audits/audit-forkdiff.html


# IDE
.idea
Loading
Loading