Properly use Dockerfile ARG values
This commit is contained in:
parent
7023465d91
commit
477eac7f19
|
|
@ -4,7 +4,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
network:
|
network:
|
||||||
default: 'mainnet'
|
default: 'Mainnet'
|
||||||
checkpoint_sync:
|
checkpoint_sync:
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,9 +39,9 @@ ARG checkpoint_sync=true
|
||||||
ARG network=Mainnet
|
ARG network=Mainnet
|
||||||
|
|
||||||
RUN printf "[consensus]\n" >> /zebrad.toml
|
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]\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 "[state]\n" >> /zebrad.toml
|
||||||
RUN printf "cache_dir = '/zebrad-cache'\n" >> /zebrad.toml
|
RUN printf "cache_dir = '/zebrad-cache'\n" >> /zebrad.toml
|
||||||
RUN printf "memory_cache_bytes = 52428800\n" >> /zebrad.toml
|
RUN printf "memory_cache_bytes = 52428800\n" >> /zebrad.toml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue