Skip to content

Commit 8e789df

Browse files
committed
ci: only build docker on non-arm architectures
ARM based runners do not have KVM which is required for `runAsRoot` for `dockerTools`.
1 parent 4161383 commit 8e789df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ jobs:
6868
run: nix build --file . ssh-portfolio${CARGO_FEATURES:+-$CARGO_FEATURES}
6969

7070
- name: Build docker image
71+
if: ${{ runner.arch }} != "ARM64"
7172
run: nix build .#docker

0 commit comments

Comments
 (0)