@@ -76,10 +76,10 @@ jobs:
7676 matrix :
7777 include :
7878 - arch : amd64
79- runner : ubuntu-24.04
79+ runner : blacksmith-8vcpu- ubuntu-2404
8080 triple : x86_64-unknown-linux-gnu
8181 - arch : arm64
82- runner : arm-4-core
82+ runner : blacksmith-8vcpu-ubuntu-2404-arm
8383 triple : aarch64-unknown-linux-gnu
8484 steps :
8585 - name : Checkout
@@ -189,10 +189,10 @@ jobs:
189189 matrix :
190190 include :
191191 - arch : amd64
192- runner : ubuntu-24.04
192+ runner : blacksmith-4vcpu- ubuntu-2404
193193 platform : linux/amd64
194194 - arch : arm64
195- runner : ubuntu-24.04 -arm
195+ runner : blacksmith-4vcpu- ubuntu-2404 -arm
196196 platform : linux/arm64
197197 steps :
198198 - name : Checkout
@@ -209,8 +209,11 @@ jobs:
209209 chmod +x "${{ matrix.arch }}/vector"
210210 ls -la "${{ matrix.arch }}/"
211211
212- - name : Set up Docker Buildx
213- uses : docker/setup-buildx-action@v3
212+ - name : Set up Blacksmith Docker builder
213+ # Blacksmith's setup-docker-builder wraps buildx and points the build
214+ # cache at Blacksmith's colocated layer cache, so we drop the manual
215+ # `cache-from`/`cache-to: type=gha` below — it's handled automatically.
216+ uses : useblacksmith/setup-docker-builder@v1
214217
215218 - name : Log in to Container Registry
216219 if : ${{ !inputs.dry_run }}
@@ -222,14 +225,12 @@ jobs:
222225
223226 - name : Build and push by digest
224227 id : build
225- uses : docker /build-push-action@v6
228+ uses : useblacksmith /build-push-action@v2
226229 with :
227230 context : .
228231 file : distribution/docker/tero/Dockerfile
229232 platforms : ${{ matrix.platform }}
230233 outputs : type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=${{ !inputs.dry_run }}
231- cache-from : type=gha,scope=${{ matrix.arch }}
232- cache-to : type=gha,mode=max,scope=${{ matrix.arch }}
233234
234235 - name : Export digest
235236 if : ${{ !inputs.dry_run }}
@@ -250,7 +251,7 @@ jobs:
250251
251252 merge-docker-manifest :
252253 name : Merge Docker manifests
253- runs-on : ubuntu-24.04
254+ runs-on : blacksmith-4vcpu- ubuntu-2404
254255 needs : [prepare, build-docker]
255256 if : ${{ !inputs.dry_run }}
256257 steps :
@@ -261,8 +262,8 @@ jobs:
261262 pattern : digests-*
262263 merge-multiple : true
263264
264- - name : Set up Docker Buildx
265- uses : docker /setup-buildx-action@v3
265+ - name : Set up Blacksmith Docker builder
266+ uses : useblacksmith /setup-docker-builder@v1
266267
267268 - name : Log in to Container Registry
268269 uses : docker/login-action@v3
0 commit comments