Skip to content

Commit 093ab47

Browse files
Migrate workflows to Blacksmith
1 parent c0b0c1f commit 093ab47

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/production.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
secrets: inherit
1111

1212
build-and-push-to-production:
13-
runs-on: ubuntu-latest
13+
runs-on: blacksmith-4vcpu-ubuntu-2404
1414
needs: test
1515

1616
steps:
@@ -41,7 +41,7 @@ jobs:
4141
password: ${{ secrets.QUAY_IO_TOKEN }}
4242

4343
sentry-release:
44-
runs-on: ubuntu-latest
44+
runs-on: blacksmith-4vcpu-ubuntu-2404
4545
needs: build-and-push-to-production
4646

4747
steps:

.github/workflows/staging.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
secrets: inherit
1212

1313
build-and-push-to-staging:
14-
runs-on: ubuntu-latest
14+
runs-on: blacksmith-4vcpu-ubuntu-2404
1515
needs: test
1616

1717
steps:

.github/workflows/test.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ on: [workflow_call]
44

55
jobs:
66
lint-test:
7-
runs-on: ubuntu-latest
7+
runs-on: blacksmith-4vcpu-ubuntu-2404
88

99
steps:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-node@v4
1212
with:
1313
node-version: '20'
1414
cache: 'npm'
15-
- uses: docker/setup-buildx-action@v3
15+
- name: Setup Blacksmith Builder
16+
uses: useblacksmith/setup-docker-builder@v1
1617

1718
- name: Build image
18-
uses: docker/build-push-action@v5
19+
uses: useblacksmith/build-push-action@v2
1920
with:
2021
context: .
2122
file: ./Containerfile
@@ -26,8 +27,6 @@ jobs:
2627
push: false
2728
load: true
2829
tags: gptwrapper:ci
29-
cache-from: type=gha
30-
cache-to: type=gha,mode=max
3130

3231
- name: Start the application
3332
run: docker compose -f compose.ci.yaml up -d

0 commit comments

Comments
 (0)