mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-02 20:03:01 +01:00
Add more explicity run strategies in the runner matrix
This commit is contained in:
parent
80cd902c86
commit
2dfd163430
1 changed files with 14 additions and 7 deletions
21
.github/workflows/dockerize.yml
vendored
21
.github/workflows/dockerize.yml
vendored
|
@ -41,13 +41,20 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
image:
|
||||
- 'local'
|
||||
- 'cloud'
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
runs-on: ${{ matrix.platform == 'linux/arm64' && 'ubuntu-linux-arm64' || 'ubuntu-latest' }}
|
||||
include:
|
||||
- image: 'local'
|
||||
platform: linux/amd64
|
||||
runner: ubuntu-latest
|
||||
- image: 'local'
|
||||
platform: linux/arm64
|
||||
runner: ubuntu-linux-arm64
|
||||
- image: 'cloud'
|
||||
platform: linux/amd64
|
||||
runner: ubuntu-latest
|
||||
- image: 'cloud'
|
||||
platform: linux/arm64
|
||||
runner: ubuntu-linux-arm64
|
||||
runs-on: ${{ matrix.runner }}
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
|
Loading…
Reference in a new issue