Skip to content

Commit

Permalink
ci: test build on docker and nerdctl
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Zhang <kweizh@gmail.com>
  • Loading branch information
zwpaper committed Feb 16, 2023
1 parent cf19873 commit 12fc04b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ env:
jobs:
test-build:
runs-on: ubuntu-latest
strategy:
matrix:
builder:
- docker
- nerdctl
env:
BUILDER: ${{ matrix.builder }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
Expand All @@ -25,12 +32,12 @@ jobs:
- name: Build Image
shell: bash
run: |
make build-image
BUILDER=${{ matrix.builder }} make build-image
- name: Build Cluster Image
shell: bash
run: |
make build-cluster-image
BUILDER=${{ matrix.builder }} make build-cluster-image
test-kwok:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -164,6 +171,7 @@ jobs:
sudo systemctl daemon-reload
sudo systemctl enable --now containerd
containerd-rootless-setuptool.sh install
containerd-rootless-setuptool.sh install-buildkit-containerd
- name: Make pki directory
if: ${{ matrix.kwokctl-runtime == 'binary' }}
Expand Down

0 comments on commit 12fc04b

Please sign in to comment.