Skip to content

Commit

Permalink
Fix docker image eth (#2009)
Browse files Browse the repository at this point in the history
* Dockerfile includes linera-ethereum

* Added GitHub workflow for the docker image
  • Loading branch information
christos-h authored May 11, 2024
1 parent 588cc8c commit f61cc85
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Docker

on:
push:
branches: [ main ]
pull_request:
branches:
- "**"
paths-ignore:
- '**/*.md'
- 'configuration/**'
- 'kubernetes/**'
workflow_dispatch:

# This allows a subsequently queued workflow run to interrupt previous runs on pull-requests
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}'
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUST_BACKTRACE: short
# We allow redundant explicit links because `cargo rdme` doesn't know how to resolve implicit intra-crate links.
RUSTDOCFLAGS: -A rustdoc::redundant_explicit_links -D warnings
RUSTFLAGS: -D warnings
RUSTUP_MAX_RETRIES: 10
RUST_LOG: warn

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest-16-cores
timeout-minutes: 60

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build Docker image
run: docker build . -f docker/Dockerfile
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ COPY examples examples
COPY linera-base linera-base
COPY linera-chain linera-chain
COPY linera-core linera-core
COPY linera-ethereum linera-ethereum
COPY linera-execution linera-execution
COPY linera-explorer linera-explorer
COPY linera-indexer linera-indexer
Expand Down

0 comments on commit f61cc85

Please sign in to comment.