Skip to content

Fix build error

Fix build error #17

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
branches:
- op-migrate
jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
build:
- name: data-transport-layer
file: ./ops/docker/Dockerfile.packages
target: data-transport-layer
args: NODE_OPTIONS=--max-old-space-size=6144
- name: l2geth
file: ./ops/docker/Dockerfile.geth
target: ''
args: ''
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
platforms: amd64,arm64
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ${{ matrix.build.file }}
target: ${{ matrix.build.target }}
platforms: linux/amd64,linux/arm64
tags: ghcr.io/${{ github.repository }}/${{ matrix.build.name }}:${{ github.ref_name }}
build-args: ${{ matrix.build.args }}
push: true