Skip to content

Commit

Permalink
ci: test kcl version in images
Browse files Browse the repository at this point in the history
Signed-off-by: Peefy <[email protected]>
  • Loading branch information
Peefy committed Oct 30, 2024
1 parent 914719e commit 8ad02d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/image-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ jobs:
go-version-file: go.mod
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Test docker amd64 non-user with KCL version
run: docker run --user=999 --rm kcllang/kcl sh -c "kcl --version"
run: docker run --user=999 --rm kcllang/kcl sh -c "kcl version"
- name: Test docker amd64 non-user with KCL running
run: docker run --user=999 --rm kcllang/kcl sh -c "echo 'a=1' | kcl run -"
- name: Test docker arm64 non-user with KCL version
run: docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "kcl --version"
run: docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "kcl version"
- name: Test docker arm64 non-user with KCL running
run: docker run --platform linux/arm64 --user=999 --rm kcllang/kcl sh -c "echo 'a=1' | kcl run -"

0 comments on commit 8ad02d7

Please sign in to comment.