Commit 6c0235a6 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #3339 from ethereum-optimism/sc/fix-hh-node-publish

fix(ci): properly publish hardhat-node
parents debd40fb 839f784f
---
'@eth-optimism/hardhat-node': patch
---
Fixes CI to properly release the hardhat-node
...@@ -134,7 +134,7 @@ jobs: ...@@ -134,7 +134,7 @@ jobs:
hardhat-node: hardhat-node:
name: Publish Hardhat Node ${{ needs.release.outputs.hardhat-node }} name: Publish Hardhat Node ${{ needs.release.outputs.hardhat-node }}
needs: release needs: release
if: needs.release.hardhat-node != '' if: needs.release.outputs.hardhat-node != ''
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
......
...@@ -61,7 +61,7 @@ jobs: ...@@ -61,7 +61,7 @@ jobs:
if: failure() if: failure()
uses: jwalton/gh-docker-logs@v1 uses: jwalton/gh-docker-logs@v1
with: with:
images: 'ethereumoptimism/hardhat,ethereumoptimism/deployer,ethereumoptimism/data-transport-layer,ethereumoptimism/l2geth,ethereumoptimism/message-relayer,ethereumoptimism/batch-submitter,ethereumoptimism/l2geth' images: 'ethereumoptimism/hardhat-node,ethereumoptimism/deployer,ethereumoptimism/data-transport-layer,ethereumoptimism/l2geth,ethereumoptimism/message-relayer,ethereumoptimism/batch-submitter,ethereumoptimism/l2geth'
dest: './logs' dest: './logs'
- name: Tar logs - name: Tar logs
......
...@@ -12,7 +12,7 @@ x-system-addr-env: &system-addr-env ...@@ -12,7 +12,7 @@ x-system-addr-env: &system-addr-env
services: services:
# this is a helper service used because there's no official hardhat image # this is a helper service used because there's no official hardhat image
l1_chain: l1_chain:
image: ethereumoptimism/hardhat:${DOCKER_TAG_HARDHAT:-latest} image: ethereumoptimism/hardhat-node:${DOCKER_TAG_HARDHAT:-latest}
build: build:
context: ./docker/hardhat context: ./docker/hardhat
dockerfile: Dockerfile dockerfile: Dockerfile
......
...@@ -16,7 +16,7 @@ function build() { ...@@ -16,7 +16,7 @@ function build() {
mkdir -p /tmp/.buildx-cache-new mkdir -p /tmp/.buildx-cache-new
build l2geth "ethereumoptimism/l2geth:latest" "./l2geth/Dockerfile" . build l2geth "ethereumoptimism/l2geth:latest" "./l2geth/Dockerfile" .
build l1chain "ethereumoptimism/hardhat:latest" "./ops/docker/hardhat/Dockerfile" ./ops/docker/hardhat build l1chain "ethereumoptimism/hardhat-node:latest" "./ops/docker/hardhat/Dockerfile" ./ops/docker/hardhat
wait wait
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment