Skip to content

Commit 00faa04

Browse files
committed
🔨 update build action
1 parent 875b536 commit 00faa04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎.github/workflows/docker-build.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: echo "sha=${{ github.sha }}" >> "$GITHUB_OUTPUT"
2323

2424
build-base:
25-
runs-on: self-hosted
25+
runs-on: ${{ fromJson(inputs.runner_label_json) }}
2626
needs: checkout
2727
steps:
2828
- name: Checkout code
@@ -32,7 +32,7 @@ jobs:
3232
run: docker build --progress=plain -t nexent/nexent-base -f make/base/Dockerfile .
3333

3434
build-main:
35-
runs-on: self-hosted
35+
runs-on: ${{ fromJson(inputs.runner_label_json) }}
3636
needs: build-base
3737
steps:
3838
- name: Checkout code
@@ -42,7 +42,7 @@ jobs:
4242
run: docker build --progress=plain -t nexent/nexent -f make/main/Dockerfile .
4343

4444
build-data-process:
45-
runs-on: self-hosted
45+
runs-on: ${{ fromJson(inputs.runner_label_json) }}
4646
needs: checkout
4747
steps:
4848
- name: Checkout code
@@ -70,7 +70,7 @@ jobs:
7070
run: docker build --progress=plain -t nexent/nexent-data-process -f make/data_process/Dockerfile .
7171

7272
build-web:
73-
runs-on: self-hosted
73+
runs-on: ${{ fromJson(inputs.runner_label_json) }}
7474
needs: checkout
7575
steps:
7676
- name: Checkout code

0 commit comments

Comments
 (0)