Commit 5e9fc82 1 parent ed07cbc commit 5e9fc82 Copy full SHA for 5e9fc82
File tree 2 files changed +13
-12
lines changed
2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
build-images :
10
- runs-on : macos-13
10
+ runs-on : ubuntu-latest
11
11
timeout-minutes : 120
12
12
env :
13
13
DOCKER_HUB_PARACHAIN : kiltprotocol/kilt-node
19
19
CI_COMMIT_BRANCH : ${{ github.ref_name }}
20
20
CI_COMMIT_TAG : ${{ github.ref_name }}
21
21
steps :
22
+ - name : Free Disk Space
23
+ uses : jlumbroso/free-disk-space@main
24
+ with :
25
+ tool-cache : true
26
+
22
27
- name : Checkout
23
28
uses : actions/checkout@v4
24
29
Original file line number Diff line number Diff line change 4
4
5
5
target_tag=$1
6
6
7
- # Build the builder image and push it in the background
7
+ # Build the builder image and push it sequentially
8
8
docker build \
9
9
--target builder \
10
10
--cache-from $AWS_REGISTRY /kilt-parachain/collator:builder \
11
11
-t $AWS_REGISTRY /kilt-parachain/collator:builder \
12
- . &
13
- docker push $AWS_REGISTRY /kilt-parachain/collator:builder &
12
+ .
14
13
15
- wait
14
+ docker push $AWS_REGISTRY /kilt-parachain/collator:builder
16
15
17
- # Build and tag images in parallel
18
16
build_and_tag () {
19
17
local node_type=$1
20
18
local image_name=$2
@@ -28,12 +26,10 @@ build_and_tag() {
28
26
.
29
27
}
30
28
31
- build_and_tag " kilt-parachain" " kilt-node" " kilt-parachain/collator" &
29
+ build_and_tag " kilt-parachain" " kilt-node" " kilt-parachain/collator"
32
30
33
- build_and_tag " standalone-node" " standalone-node" " kilt/prototype-chain" &
31
+ build_and_tag " standalone-node" " standalone-node" " kilt/prototype-chain"
34
32
35
- build_and_tag " dip-provider-node-template" " dip-provider-node-template" " kilt-parachain/collator" &
33
+ build_and_tag " dip-provider-node-template" " dip-provider-node-template" " kilt-parachain/collator"
36
34
37
- build_and_tag " dip-consumer-node-template" " dip-consumer-node-template" " kilt-parachain/collator" &
38
-
39
- wait
35
+ build_and_tag " dip-consumer-node-template" " dip-consumer-node-template" " kilt-parachain/collator"
You can’t perform that action at this time.
0 commit comments