Skip to content

Commit

Permalink
update embedded mcd to 6.0 (#46)
Browse files Browse the repository at this point in the history
* update embedded mcd to 6.0

* update embedded mcd to 6.0

* Update Dockerfile

Co-authored-by: Henry Holtzman <[email protected]>

---------

Co-authored-by: Henry Holtzman <[email protected]>
  • Loading branch information
jgreat and holtzman authored May 14, 2024
1 parent 708f418 commit 2feb3ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
strategy:
matrix:
versions:
- {mobilecoind: v4.1.0-test, prefix: testnet, network: test}
- {mobilecoind: v4.1.0, prefix: mainnet, network: prod}
- {mobilecoind: v6.0.1-test, prefix: testnet, network: test}
- {mobilecoind: v6.0.1, prefix: mainnet, network: prod}

name: Build-backend
runs-on: mco-dev-large-x64
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ARG MOBILECOIND_BASE_TAG=v4.1.0-test
ARG MOBILECOIND_BASE_TAG=v6.0.1-test
FROM mobilecoin/mobilecoind:${MOBILECOIND_BASE_TAG} AS mobilecoind

FROM mobilecoin/builder-install:v0.0.17 AS builder

WORKDIR /build
ARG NETWORK=test

RUN CONSENSUS_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.${NETWORK}.mobilecoin.com/production-v4.0.0.json | jq .consensus.sigstruct | tr -d \") && curl -O "https://enclave-distribution.${NETWORK}.mobilecoin.com/${CONSENSUS_SIGSTRUCT_URI}"
RUN CONSENSUS_SIGSTRUCT_URI=$(curl -s https://enclave-distribution.${NETWORK}.mobilecoin.com/production-v5.0.0.json | jq .consensus.sigstruct | tr -d \") && curl -O "https://enclave-distribution.${NETWORK}.mobilecoin.com/${CONSENSUS_SIGSTRUCT_URI}"

ARG \
RUST_BACKTRACE=1 \
Expand Down

0 comments on commit 2feb3ec

Please sign in to comment.