forked from OffchainLabs/nitro
-
Notifications
You must be signed in to change notification settings - Fork 9
52 lines (45 loc) · 1.36 KB
/
espresso-docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This is a simpler version of the upstream `docker.yml`.
#
# The differences are:
# - Uses GHA docker cache.
# - Does not export the wavm module root as artifact.
name: Espresso Docker build CI
run-name: Docker build CI triggered from @${{ github.actor }} of ${{ github.head_ref }}
on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- master
- develop
- integration
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
docker_build:
strategy:
matrix:
platform: [ "linux/amd64", "linux/arm64" ]
include:
- platform: "linux/amd64"
runs-on: "ubuntu-latest"
- platform: "linux/arm64"
runs-on: "ARM64"
runs-on: [ "${{ matrix.runs-on }}" ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/docker-image
with:
images: ghcr.io/espressosystems/nitro-espresso-integration/nitro-node
target: nitro-node
platforms: ${{ matrix.platform }}
- uses: ./.github/actions/docker-image
with:
images: ghcr.io/espressosystems/nitro-espresso-integration/nitro-node-dev
target: nitro-node-dev
platforms: ${{ matrix.platform }}