File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 70
70
- name : " Init: expose GitHub Runtime variables for gha"
71
71
uses : crazy-max/ghaction-github-runtime@3cb05d89e1f492524af3d41a1c98c83bc3025124 # v3.1.0
72
72
73
+ - name : " Init: install br-netfilter"
74
+ run : |
75
+ # This ensures that bridged traffic goes through netfilter
76
+ sudo apt-get update -qq
77
+ sudo apt-get install -qq nftables
78
+ sudo modprobe br-netfilter
73
79
- name : " Init: register QEMU (tonistiigi/binfmt)"
74
80
run : |
75
81
# `--install all` will only install emulation for architectures that cannot be natively executed
Original file line number Diff line number Diff line change @@ -156,6 +156,10 @@ jobs:
156
156
sudo apt-get install -qq expect
157
157
echo "::endgroup::"
158
158
159
+ # This ensures that bridged traffic goes through netfilter
160
+ sudo apt-get install -qq nftables
161
+ sudo modprobe br-netfilter
162
+
159
163
- if : ${{ contains(inputs.runner, 'windows') && env.SHOULD_RUN == 'yes' }}
160
164
name : " Init (windows): prepare host"
161
165
env :
Original file line number Diff line number Diff line change 66
66
lima sudo dnf -q -y install docker-ce --nobest
67
67
lima sudo systemctl enable --now docker
68
68
69
+ - name : " Init: install br-netfilter in guest VM"
70
+ run : |
71
+ # This ensures that bridged traffic goes through netfilter
72
+ lima sudo dnf -q -y install nftables
73
+ lima sudo modprobe br-netfilter
74
+
69
75
- name : " Init: configure the host to use dockerd in the guest VM"
70
76
run : |
71
77
set -eux
You can’t perform that action at this time.
0 commit comments