Skip to content

Commit 449457a

Browse files
committed
blacksmith
1 parent 9116a46 commit 449457a

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,19 @@ on:
88
jobs:
99
docker-compose:
1010
name: docker-compose (production container)
11-
runs-on: ubuntu-22.04
11+
runs-on: blacksmith-4vcpu-ubuntu-2404
1212
steps:
1313
- name: checkout
1414
uses: actions/checkout@v4
15+
- name: blacksmith docker
16+
uses: useblacksmith/setup-docker-builder@v1
1517
- name: docker build / start
16-
run: docker compose -f docker-compose.ci.yml up -d
18+
env:
19+
DOCKER_BUILDKIT: 1
20+
COMPOSE_DOCKER_CLI_BUILD: 1
21+
run: |
22+
docker compose -f docker-compose.ci.yml build --build-arg BUILDKIT_INLINE_CACHE=1
23+
docker compose -f docker-compose.ci.yml up -d --wait --wait-timeout 30
1724
- name: wait for nginx
1825
run: while ! nc -z localhost 443; do sleep 0.1; done
1926
- name: ping
@@ -22,7 +29,7 @@ jobs:
2229
run: docker compose -f docker-compose.ci.yml stop
2330
php83:
2431
name: PHP 8.3
25-
runs-on: ubuntu-24.04
32+
runs-on: blacksmith-4vcpu-ubuntu-2404
2633
steps:
2734
- name: checkout
2835
uses: actions/checkout@v4
@@ -33,7 +40,7 @@ jobs:
3340
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
3441
php84:
3542
name: PHP 8.4
36-
runs-on: ubuntu-22.04
43+
runs-on: blacksmith-4vcpu-ubuntu-2404
3744
steps:
3845
- name: checkout
3946
uses: actions/checkout@v4
@@ -44,7 +51,7 @@ jobs:
4451
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
4552
php85:
4653
name: PHP 8.5
47-
runs-on: ubuntu-22.04
54+
runs-on: blacksmith-4vcpu-ubuntu-2404
4855
steps:
4956
- name: checkout
5057
uses: actions/checkout@v4

0 commit comments

Comments
 (0)