@@ -3,9 +3,9 @@ name: Tag Docker image
3
3
on :
4
4
push :
5
5
branches :
6
- - ' main'
6
+ - " main"
7
7
tags :
8
- - ' v* '
8
+ - " v* "
9
9
10
10
env :
11
11
REGISTRY : ghcr.io
29
29
username : ${{ github.actor }}
30
30
password : ${{ secrets.GITHUB_TOKEN }}
31
31
32
+ - name : Set up QEMU
33
+ uses : docker/setup-qemu-action@v2
34
+ with :
35
+ platforms : linux/amd64,linux/arm64
36
+
32
37
- name : Extract metadata for the Docker image
33
38
id : meta
34
39
uses : docker/metadata-action@v4
41
46
uses : docker/setup-buildx-action@v3
42
47
43
48
- name : Build and push the Docker image
44
- uses : docker/build-push-action@v4
49
+ uses : docker/build-push-action@v6
45
50
with :
46
51
context : .
47
52
file : geth/Dockerfile
78
83
uses : docker/setup-buildx-action@v3
79
84
80
85
- name : Build and push the Docker image
81
- uses : docker/build-push-action@v4
86
+ uses : docker/build-push-action@v6
82
87
with :
83
88
context : .
84
89
file : reth/Dockerfile
@@ -96,29 +101,29 @@ jobs:
96
101
steps :
97
102
- name : Checkout
98
103
uses : actions/checkout@v2
99
-
104
+
100
105
- name : Log into the Container registry
101
106
uses : docker/login-action@v3
102
107
with :
103
108
registry : ${{ env.REGISTRY }}
104
109
username : ${{ github.actor }}
105
110
password : ${{ secrets.GITHUB_TOKEN }}
106
-
111
+
107
112
- name : Set up QEMU
108
113
uses : docker/setup-qemu-action@v2
109
114
with :
110
115
platforms : ${{ matrix.arch }}
111
-
116
+
112
117
- name : Set up Docker Buildx
113
118
uses : docker/setup-buildx-action@v3
114
-
119
+
115
120
- name : Extract metadata for the Docker image
116
121
id : meta
117
122
uses : docker/metadata-action@v4
118
123
with :
119
124
images : |
120
125
${{ env.NAMESPACE }}/${{ env.NETHERMIND_IMAGE_NAME }}
121
-
126
+
122
127
- name : Build and push the Docker image
123
128
uses : docker/build-push-action@v6
124
129
with :
0 commit comments