diff --git a/docker-bake.hcl b/docker-bake.hcl index 9b6f11788c..2cec47ccdb 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -39,7 +39,7 @@ group "default" { } group "nightly" { - targets = ["ethereum", "ethereum-profiling", "ethereum-edge-profiling", "optimism", "optimism-profiling", "optimism-edge-profiling"] + targets = ["ethereum", "ethereum-profiling", "ethereum-edge-profiling", "optimism", "optimism-profiling"] } // Base target with shared configuration @@ -54,6 +54,10 @@ target "_base" { VERGEN_GIT_DIRTY = "${VERGEN_GIT_DIRTY}" } } +target "_base_profiling" { + inherits = ["_base"] + platforms = ["linux/amd64"] +} // Ethereum (reth) target "ethereum" { @@ -66,7 +70,7 @@ target "ethereum" { } target "ethereum-profiling" { - inherits = ["_base"] + inherits = ["_base_profiling"] args = { BINARY = "reth" MANIFEST_PATH = "bin/reth" @@ -77,7 +81,7 @@ target "ethereum-profiling" { } target "ethereum-edge-profiling" { - inherits = ["_base"] + inherits = ["_base_profiling"] args = { BINARY = "reth" MANIFEST_PATH = "bin/reth" @@ -98,7 +102,7 @@ target "optimism" { } target "optimism-profiling" { - inherits = ["_base"] + inherits = ["_base_profiling"] args = { BINARY = "op-reth" MANIFEST_PATH = "crates/optimism/bin" @@ -109,7 +113,7 @@ target "optimism-profiling" { } target "optimism-edge-profiling" { - inherits = ["_base"] + inherits = ["_base_profiling"] args = { BINARY = "op-reth" MANIFEST_PATH = "crates/optimism/bin"