2525 matrix :
2626 runner : [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
2727 platform : [linux/amd64, linux/arm64]
28+ include :
29+ - runner : blacksmith-2vcpu-ubuntu-2204
30+ platform : linux/amd64
31+ tag : latest
32+ - runner : blacksmith-2vcpu-ubuntu-2204
33+ platform : blacksmith-2vcpu-ubuntu-2204-arm
34+ tag : latest-arm
35+ suffix : -arm
2836 exclude :
2937 - runner : blacksmith-2vcpu-ubuntu-2204
3038 platform : linux/arm64
5462 images : |
5563 trieve/chat
5664 tags : |
57- type=raw,latest
58- type=sha
65+ type=raw,tag=${{matrix.tag}}
66+ type=sha,suffix=${{matrix.suffix}}
5967
6068 - name : Build and push Docker image
6169 uses : useblacksmith/build-push-action@v1.0.0-beta
7482 matrix :
7583 runner : [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
7684 platform : [linux/amd64, linux/arm64]
85+ include :
86+ - runner : blacksmith-2vcpu-ubuntu-2204
87+ platform : linux/amd64
88+ tag : latest
89+ - runner : blacksmith-2vcpu-ubuntu-2204
90+ platform : blacksmith-2vcpu-ubuntu-2204-arm
91+ tag : latest-arm
92+ suffix : -arm
7793 exclude :
7894 - runner : blacksmith-2vcpu-ubuntu-2204
7995 platform : linux/arm64
@@ -103,8 +119,8 @@ jobs:
103119 images : |
104120 trieve/search
105121 tags : |
106- type=raw,latest
107- type=sha
122+ type=raw,tag=${{matrix.tag}}
123+ type=sha,suffix=${{matrix.suffix}}
108124
109125 - name : Build and push Docker image
110126 uses : useblacksmith/build-push-action@v1.0.0-beta
@@ -123,6 +139,14 @@ jobs:
123139 matrix :
124140 runner : [blacksmith-2vcpu-ubuntu-2204, blacksmith-2vcpu-ubuntu-2204-arm]
125141 platform : [linux/amd64, linux/arm64]
142+ include :
143+ - runner : blacksmith-2vcpu-ubuntu-2204
144+ platform : linux/amd64
145+ tag : latest
146+ - runner : blacksmith-2vcpu-ubuntu-2204
147+ platform : blacksmith-2vcpu-ubuntu-2204-arm
148+ tag : latest-arm
149+ suffix : -arm
126150 exclude :
127151 - runner : blacksmith-2vcpu-ubuntu-2204
128152 platform : linux/arm64
@@ -152,8 +176,8 @@ jobs:
152176 images : |
153177 trieve/dashboard
154178 tags : |
155- type=raw,latest
156- type=sha
179+ type=raw,tag=${{matrix.tag}}
180+ type=sha,suffix=${{matrix.suffix}}
157181
158182 - name : Build and push Docker image
159183 uses : useblacksmith/build-push-action@v1.0.0-beta
0 commit comments