Skip to content

Support BSP export for EIP-4844 blob tx (Ethereum Migration v1.5) #941

Support BSP export for EIP-4844 blob tx (Ethereum Migration v1.5)

Support BSP export for EIP-4844 blob tx (Ethereum Migration v1.5) #941

Workflow file for this run

name: docker-image
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
- "develop"
jobs:
bsp-agent-eth:
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
if: ${{ !env.ACT }}
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.CR_USER }}
password: ${{ secrets.CR_PAT }}
- name: Login to GCR
uses: docker/login-action@v2
with:
registry: us-docker.pkg.dev
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- uses: actions/checkout@v2
- name: Build & Publish the Docker image
run: |
docker buildx create --name builder --use --platform=linux/amd64,linux/arm64 && docker buildx build --platform=linux/amd64,linux/arm64 . -t us-docker.pkg.dev/covalent-project/network/bsp-agent:latest --push
- name: Create .env file
run: |
touch .env
{
echo "PRIVATE_KEY=${{ secrets.PRIVATE_KEY }}"
echo "RPC_URL=${{ secrets.RPC_URL }}"
echo "WEB3_JWT=${{ secrets.WEB3_JWT }}"
echo "W3_AGENT_KEY=${{ secrets.W3_AGENT_KEY }}"
echo "PROOF_OUT_HEX=${{ secrets.PROOF_OUT_HEX }}"
echo "W3_DELEGATION_FILE=${{ secrets.W3_DELEGATION_FILE }}"
} >> .env
cat .env
- name: Load .env file
uses: xom9ikk/[email protected]
- name: Run containers
run: docker-compose --env-file ".env" -f "docker-compose-ci.yml" up --build --remove-orphans --exit-code-from agent
- name: Check running agent
run: docker inspect bsp-agent
- name: Check running containers
run: docker ps
- name: Delete .env & bin files
run: |
rm -rf .env && rm -rf ./bin/block-ethereum
- name: Stop containers
if: always()
run: docker-compose -f "docker-compose-ci.yml" down