1313
1414jobs :
1515 static-code-analysis :
16- runs-on : ubuntu-24.04
16+ runs-on : blacksmith-4vcpu- ubuntu-2404
1717 steps :
1818 - name : Checkout
1919 uses : actions/checkout@v4
4444 run : mypy
4545
4646 check-compiled-requirements :
47- runs-on : ubuntu-24.04
47+ runs-on : blacksmith-4vcpu- ubuntu-2404
4848 if : ${{ !contains(github.event.head_commit.message, '#notests') }}
4949 steps :
5050 - uses : actions/checkout@v4
7979 matrix :
8080 include :
8181 - arch : amd64
82- runs-on : ubuntu-24.04
82+ runs-on : blacksmith-4vcpu- ubuntu-2404
8383 - arch : arm64
8484 runs-on : gh-arm64-runners
8585
@@ -109,11 +109,8 @@ jobs:
109109 run : |
110110 docker context create container-builder
111111
112- - name : Set up Docker Buildx
113- uses : docker/setup-buildx-action@v3
114- with :
115- version : latest
116- endpoint : container-builder
112+ - name : Setup Blacksmith Builder
113+ uses : useblacksmith/setup-docker-builder@v1
117114
118115 - name : Login to DockerHub
119116 # if: ${{ github.ref == 'master' && github.event.pull_request.merged == true }}
@@ -123,15 +120,13 @@ jobs:
123120 password : ${{ secrets.DOCKER_PASSWORD }}
124121
125122 - name : Build and push sync-engine images
126- uses : docker /build-push-action@v5
123+ uses : useblacksmith /build-push-action@v2
127124 with :
128125 platforms : linux/${{ matrix.arch }}
129126 push : false
130127 load : true
131128 tags : |
132129 ${{ env.DOCKER_IMAGE_TAG }}
133- cache-from : type=gha
134- cache-to : type=gha,mode=max
135130 build-args : |
136131 BUILD_CACHE_BUST=${{ env.BUILD_CACHE_BUST }}
137132 BUILD_WEEK=${{ env.BUILD_WEEK }}
0 commit comments