File tree Expand file tree Collapse file tree 5 files changed +23
-5
lines changed Expand file tree Collapse file tree 5 files changed +23
-5
lines changed Original file line number Diff line number Diff line change 11
11
If not provided the last commit on the main branch will be used instead.
12
12
required : false
13
13
type : string
14
+ cardano_bin_url :
15
+ description : The url of the archive of the Cardano Node/CLI binaries
16
+ required : true
17
+ type : string
18
+ default : https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
14
19
dry_run :
15
20
description : Dry run will not push the Docker images to the registry
16
21
required : true
17
- type : bool
22
+ type : boolean
18
23
default : false
19
24
20
25
jobs :
91
96
with :
92
97
context : ${{ env.CONTEXT }}
93
98
file : ${{ env.DOCKER_FILE }}
99
+ build-args : CARDANO_BIN_URL=${{ steps.inputs.cardano_bin_url }}
94
100
push : true
95
101
tags : ${{ steps.meta.outputs.tags }}
Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ RUN /app/target/release/mithril-aggregator --version
39
39
# ##############################
40
40
FROM ubuntu:22.04
41
41
42
+ # Args
43
+ ARG CARDANO_BIN_URL=https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
44
+
42
45
# Upgrade
43
46
RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*
44
47
@@ -56,7 +59,7 @@ WORKDIR /app/
56
59
RUN chown -R appuser /app/
57
60
58
61
# Install cardano-cli
59
- RUN wget -nv -O cardano-bin.tar.gz https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
62
+ RUN wget -nv -O cardano-bin.tar.gz $CARDANO_BIN_URL
60
63
RUN tar xzf cardano-bin.tar.gz ./cardano-cli && mv cardano-cli /app/bin
61
64
RUN /app/bin/cardano-cli --version
62
65
RUN rm -f cardano-bin.tar.gz
Original file line number Diff line number Diff line change 3
3
# on a debian-compatible x86-64 environment
4
4
FROM ubuntu:22.04
5
5
6
+ # Args
7
+ ARG CARDANO_BIN_URL=https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
8
+
6
9
# Upgrade
7
10
RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*
8
11
@@ -14,7 +17,7 @@ COPY mithril-aggregator/mithril-aggregator /app/bin/mithril-aggregator
14
17
COPY mithril-aggregator/config /app/config
15
18
16
19
# Install cardano-cli
17
- RUN wget -nv -O cardano-bin.tar.gz https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
20
+ RUN wget -nv -O cardano-bin.tar.gz $CARDANO_BIN_URL
18
21
RUN tar xzf cardano-bin.tar.gz ./cardano-cli && mv cardano-cli /app/bin
19
22
RUN /app/bin/cardano-cli --version
20
23
RUN rm -f cardano-bin.tar.gz
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ RUN /app/target/release/mithril-signer --version
40
40
# ##############################
41
41
FROM ubuntu:22.04
42
42
43
+ # Args
44
+ ARG CARDANO_BIN_URL=https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
45
+
43
46
# Upgrade
44
47
RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*
45
48
@@ -57,7 +60,7 @@ WORKDIR /app/
57
60
RUN chown -R appuser /app/
58
61
59
62
# Install cardano-cli
60
- RUN wget -nv -O cardano-bin.tar.gz https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
63
+ RUN wget -nv -O cardano-bin.tar.gz $CARDANO_BIN_URL
61
64
RUN tar xzf cardano-bin.tar.gz ./cardano-cli && mv cardano-cli /app/bin
62
65
RUN /app/bin/cardano-cli --version
63
66
RUN rm -f cardano-bin.tar.gz
Original file line number Diff line number Diff line change 3
3
# on a debian-compatible x86-64 environment
4
4
FROM ubuntu:22.04
5
5
6
+ # Args
7
+ ARG CARDANO_BIN_URL=https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
8
+
6
9
# Upgrade
7
10
RUN apt-get update -y && apt-get install -y libssl-dev ca-certificates wget sqlite3 && rm -rf /var/lib/apt/lists/*
8
11
@@ -14,7 +17,7 @@ COPY mithril-signer/mithril-signer /app/bin/mithril-signer
14
17
COPY mithril-signer/config /app/config
15
18
16
19
# Install cardano-cli
17
- RUN wget -nv -O cardano-bin.tar.gz https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz
20
+ RUN wget -nv -O cardano-bin.tar.gz $CARDANO_BIN_URL
18
21
RUN tar xzf cardano-bin.tar.gz ./cardano-cli && mv cardano-cli /app/bin
19
22
RUN /app/bin/cardano-cli --version
20
23
RUN rm -f cardano-bin.tar.gz
You can’t perform that action at this time.
0 commit comments