# This file is used to create docker images using the heighliner binary.
# see: https://github.com/strangelove-ventures/heighliner

# Sonr Node - Identity
- name: sonr
  github-organization: onsonr
  github-repo: sonr
  dockerfile: cosmos
  build-target: make install
  binaries:
    - /go/bin/sonrd
  build-env:
    - LEDGER_ENABLED=false
    - BUILD_TAGS=muslc

# Ethereum Node - Web3
- name: evmos
  github-organization: tharsis
  github-repo: evmos
  dockerfile: cosmos
  build-target: make install
  binaries:
    - /go/bin/evmosd

# Bitcoin Node - Gold
- name: nomic
  github-organization: nomic-io
  github-repo: nomic
  dockerfile: cargo
  build-target: |
    TOOLCHAIN=$(cat rust-toolchain.toml | grep channel | awk '{print $3}' | tr -d '"')
    rustup component add rust-src --toolchain ${TOOLCHAIN}-$(uname -m)-unknown-linux-gnu
    cargo install --locked --path . -Zbuild-std
  binaries:
    - /build/nomic/target/${ARCH}-unknown-linux-gnu/release/nomic
  platforms:
    - linux/amd64
