Commit 5f497380 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #1251 from ethereum-optimism/fix/ci-versions

ci: handle gas-oracle latest image, skip builder
parents 345ebf89 663efb3e
......@@ -133,7 +133,7 @@ jobs:
context: .
file: ./ops/docker/Dockerfile.gas-oracle
push: true
tags: ethereumoptimism/gas-oracle:${{ needs.release.outputs.gas-oracle }}
tags: ethereumoptimism/gas-oracle:${{ needs.release.outputs.gas-oracle }},ethereumoptimism/gas-oracle:latest
# pushes the base builder image to dockerhub
builder:
......
......@@ -6,10 +6,18 @@ const os = require('os')
data = process.argv[2]
data = JSON.parse(data)
// Packages that do not depend on the builder.
// There are more packages that depend on the
// builder than not, so keep track of this list instead
const nonBuilders = new Set([
'l2geth',
'gas-oracle',
])
builder = false
for (const i of data) {
const name = i.name.replace("@eth-optimism/", "")
if (name !== 'l2geth') {
if (!nonBuilders.has(name)) {
builder = true
}
const version = i.version
......
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