Skip to content

chore(l1): reduce unnecessary docker builds and remove duplicate workflow executions in main #13

chore(l1): reduce unnecessary docker builds and remove duplicate workflow executions in main

chore(l1): reduce unnecessary docker builds and remove duplicate workflow executions in main #13

Workflow file for this run

name: Docker
on:
merge_group:
push:
branches: [main]
pull_request:
branches: ["**"]
paths-ignore:
- "README.md"
- "LICENSE"
- "**/README.md"
- "**/docs/**"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
RUST_VERSION: 1.80.1
jobs:
build-and-upload:
name: Build and Upload image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
load: true
tags: ethereum_rust
outputs: type=docker,dest=/tmp/ethereum_rust_image.tar
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ethereum_rust_image
path: /tmp/ethereum_rust_image.tar