Skip to content

feat(l2): revert batch subcommand with web3signer (#4194) #797

feat(l2): revert batch subcommand with web3signer (#4194)

feat(l2): revert batch subcommand with web3signer (#4194) #797

name: Publish Docker
on:
push:
branches: ["main"]
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
name: Build and push Docker image
runs-on: ubuntu-latest
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Pushes to ghcr.io/lambdaclass/ethrex
- name: Build and push Docker image
id: push
uses: ./.github/actions/build-docker
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:main