Skip to content

Commit 76c0a34

Browse files
Migrate workflows to Blacksmith (#29)
Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
1 parent c552956 commit 76c0a34

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
test-and-validate:
14-
runs-on: ubuntu-latest
14+
runs-on: blacksmith-4vcpu-ubuntu-2404
1515
timeout-minutes: 45
1616

1717
steps:
@@ -45,8 +45,8 @@ jobs:
4545
--server-url http://localhost:5000
4646
git diff --exit-code -- openapi.foundry.json
4747
48-
- name: Setup Docker Buildx
49-
uses: docker/setup-buildx-action@v3
48+
- name: Setup Blacksmith Builder
49+
uses: useblacksmith/setup-docker-builder@v1
5050

5151
- name: Build image with Foundry OpenAPI label
5252
run: |

.github/workflows/publish-foundry.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ permissions:
2626
jobs:
2727
publish:
2828
name: Build and push image
29-
runs-on: ubuntu-latest
29+
runs-on: blacksmith-4vcpu-ubuntu-2404
3030
timeout-minutes: 45
3131

3232
steps:
@@ -52,8 +52,8 @@ jobs:
5252
--server-url http://localhost:5000
5353
git diff --exit-code -- openapi.foundry.json
5454
55-
- name: Setup Docker Buildx
56-
uses: docker/setup-buildx-action@v3
55+
- name: Setup Blacksmith Builder
56+
uses: useblacksmith/setup-docker-builder@v1
5757

5858
- name: Resolve tags
5959
id: meta

.github/workflows/publish-platform-images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
publish:
22-
runs-on: ubuntu-latest
22+
runs-on: blacksmith-4vcpu-ubuntu-2404
2323
timeout-minutes: 45
2424

2525
steps:
@@ -34,8 +34,8 @@ jobs:
3434
- name: Setup uv
3535
uses: astral-sh/setup-uv@v5
3636

37-
- name: Setup Docker Buildx
38-
uses: docker/setup-buildx-action@v3
37+
- name: Setup Blacksmith Builder
38+
uses: useblacksmith/setup-docker-builder@v1
3939

4040
- name: Resolve immutable tags
4141
id: tags

.github/workflows/railway-preview-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
preview-smoke:
17-
runs-on: ubuntu-latest
17+
runs-on: blacksmith-4vcpu-ubuntu-2404
1818
timeout-minutes: 45
1919
if: >-
2020
github.event_name == 'workflow_dispatch' ||

.github/workflows/railway-production-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818

1919
jobs:
2020
production-smoke:
21-
runs-on: ubuntu-latest
21+
runs-on: blacksmith-4vcpu-ubuntu-2404
2222
timeout-minutes: 45
2323
if: >-
2424
github.event_name == 'workflow_dispatch' ||

.github/workflows/release-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
github.event.workflow_run.event == 'push' &&
2323
github.event.workflow_run.head_branch == 'main' &&
2424
!startsWith(github.event.workflow_run.head_commit.message, 'chore(release): bump version to')
25-
runs-on: ubuntu-latest
25+
runs-on: blacksmith-4vcpu-ubuntu-2404
2626
env:
2727
GH_TOKEN: ${{ github.token }}
2828
REPO: ${{ github.repository }}

0 commit comments

Comments
 (0)