File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 21
21
22
22
- name : Set up Docker Buildx
23
23
uses : docker/setup-buildx-action@v2
24
+ with :
25
+ install : true
26
+
27
+ - name : Create Buildx Builder
28
+ run : |
29
+ docker buildx create --name mybuilder --use
30
+ docker buildx inspect --bootstrap
24
31
25
32
- name : Extract Version Components
26
33
id : version
@@ -30,11 +37,12 @@ jobs:
30
37
echo "MAJOR=${VERSION%%.*}" >> $GITHUB_ENV
31
38
echo "MINOR=${VERSION%.*}" >> $GITHUB_ENV
32
39
33
- - name : Build and Push Docker Image with Multiple Tags
40
+ - name : Build and Push Docker Image with Multiple Tags and Architectures
34
41
uses : docker/build-push-action@v4
35
42
with :
36
43
context : .
37
44
push : true
45
+ platforms : linux/amd64,linux/arm64 # Specify both amd64 and arm64
38
46
tags : |
39
47
jonathanschad/react-nestjs-boilerplate:${{ env.VERSION }}
40
48
jonathanschad/react-nestjs-boilerplate:${{ env.MAJOR }}
You can’t perform that action at this time.
0 commit comments