Properly use Dockerfile ARG values

This commit is contained in:
Deirdre Connolly 2020-11-13 23:53:26 -05:00 committed by Deirdre Connolly
parent 7023465d91
commit 477eac7f19
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
network:
default: 'mainnet'
default: 'Mainnet'
checkpoint_sync:
default: true

View File

@ -39,9 +39,9 @@ ARG checkpoint_sync=true
ARG network=Mainnet
RUN printf "[consensus]\n" >> /zebrad.toml
RUN printf "checkpoint_sync = $checkpoint_sync\n" >> /zebrad.toml
RUN printf "checkpoint_sync = ${checkpoint_sync}\n" >> /zebrad.toml
RUN printf "[network]\n" >> /zebrad.toml
RUN printf "network = $network\n" >> /zebrad.toml
RUN printf "network = '${network}'\n" >> /zebrad.toml
RUN printf "[state]\n" >> /zebrad.toml
RUN printf "cache_dir = '/zebrad-cache'\n" >> /zebrad.toml
RUN printf "memory_cache_bytes = 52428800\n" >> /zebrad.toml