Skip to content

Commit cb823b7

Browse files
authored
Merge pull request #48 from devcell-sh/blacksmith-migration-e34b9a3
.github/workflows: Migrate workflows to Blacksmith runners
2 parents e34b9a3 + c026f76 commit cb823b7

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

‎.github/workflows/build.dev.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
jobs:
3131
secrets:
3232
name: Detect Secrets
33-
runs-on: ubuntu-24.04
33+
runs-on: blacksmith-4vcpu-ubuntu-2404
3434
steps:
3535
- uses: actions/checkout@v5
3636
with:
@@ -60,7 +60,7 @@ jobs:
6060
# - runner: ubuntu-24.04
6161
# arch: amd64
6262
# platform: linux/amd64
63-
- runner: ubuntu-24.04-arm
63+
- runner: blacksmith-4vcpu-ubuntu-2404-arm
6464
arch: arm64
6565
platform: linux/arm64
6666
runs-on: ${{ matrix.runner }}
@@ -76,8 +76,8 @@ jobs:
7676
sudo docker image prune -af
7777
df -h
7878
79-
- name: Set up Docker Buildx
80-
uses: docker/setup-buildx-action@v3
79+
- name: Setup Blacksmith Builder
80+
uses: useblacksmith/setup-docker-builder@v1
8181

8282
- name: Log in to GitHub Container Registry
8383
uses: docker/login-action@v3
@@ -174,7 +174,7 @@ jobs:
174174
# amd64 disabled in step with docker-build above.
175175
# - runner: ubuntu-24.04
176176
# arch: amd64
177-
- runner: ubuntu-24.04-arm
177+
- runner: blacksmith-4vcpu-ubuntu-2404-arm
178178
arch: arm64
179179
runs-on: ${{ matrix.runner }}
180180
steps:
@@ -249,7 +249,7 @@ jobs:
249249
name: Docker Manifests
250250
needs: [docker-build]
251251
if: always() && needs.docker-build.result == 'success'
252-
runs-on: ubuntu-24.04
252+
runs-on: blacksmith-4vcpu-ubuntu-2404
253253
steps:
254254
- name: Set lowercase image name
255255
run: echo "IMAGE_NAME_LC=${IMAGE_NAME,,}" >> $GITHUB_ENV
@@ -283,7 +283,7 @@ jobs:
283283
cell-build:
284284
name: Cell CLI Dev Build
285285
needs: secrets
286-
runs-on: ubuntu-24.04
286+
runs-on: blacksmith-4vcpu-ubuntu-2404
287287
env:
288288
RELEASE_VERSION: v0.0.0
289289
steps:
@@ -338,7 +338,7 @@ jobs:
338338
# amd64 disabled in step with docker-build matrix above.
339339
# - runner: ubuntu-24.04
340340
# arch: amd64
341-
- runner: ubuntu-24.04-arm
341+
- runner: blacksmith-4vcpu-ubuntu-2404-arm
342342
arch: arm64
343343
runs-on: ${{ matrix.runner }}
344344
timeout-minutes: 30
@@ -400,7 +400,7 @@ jobs:
400400
# amd64 disabled in step with docker-build matrix above.
401401
# - runner: ubuntu-24.04
402402
# arch: amd64
403-
- runner: ubuntu-24.04-arm
403+
- runner: blacksmith-4vcpu-ubuntu-2404-arm
404404
arch: arm64
405405
runs-on: ${{ matrix.runner }}
406406
timeout-minutes: 15

‎.github/workflows/build.release.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
max-parallel: 1
3636
matrix:
3737
include:
38-
- runner: ubuntu-latest
38+
- runner: blacksmith-4vcpu-ubuntu-2404
3939
arch: amd64
4040
platform: linux/amd64
41-
- runner: ubuntu-24.04-arm
41+
- runner: blacksmith-4vcpu-ubuntu-2404-arm
4242
arch: arm64
4343
platform: linux/arm64
4444
runs-on: ${{ matrix.runner }}
@@ -58,8 +58,8 @@ jobs:
5858
df -h
5959
6060
61-
- name: Set up Docker Buildx
62-
uses: docker/setup-buildx-action@v3
61+
- name: Setup Blacksmith Builder
62+
uses: useblacksmith/setup-docker-builder@v1
6363

6464
- name: Log in to GitHub Container Registry
6565
uses: docker/login-action@v3
@@ -126,7 +126,7 @@ jobs:
126126
docker-manifest:
127127
name: Docker Manifests
128128
needs: docker-build
129-
runs-on: ubuntu-24.04
129+
runs-on: blacksmith-4vcpu-ubuntu-2404
130130
steps:
131131
- name: Set lowercase image name
132132
run: echo "IMAGE_NAME_LC=${IMAGE_NAME,,}" >> $GITHUB_ENV
@@ -162,7 +162,7 @@ jobs:
162162
163163
cell-release:
164164
name: Cell CLI Release Build
165-
runs-on: ubuntu-24.04
165+
runs-on: blacksmith-4vcpu-ubuntu-2404
166166
steps:
167167
- uses: actions/checkout@v5
168168
with:
@@ -202,9 +202,9 @@ jobs:
202202
fail-fast: false
203203
matrix:
204204
include:
205-
- runner: ubuntu-latest
205+
- runner: blacksmith-4vcpu-ubuntu-2404
206206
arch: amd64
207-
- runner: ubuntu-24.04-arm
207+
- runner: blacksmith-4vcpu-ubuntu-2404-arm
208208
arch: arm64
209209
runs-on: ${{ matrix.runner }}
210210
timeout-minutes: 30

0 commit comments

Comments
 (0)