File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -236,15 +236,19 @@ jobs:
236236 name : parca-agent-dist-release
237237 path : dist
238238
239- - name : Install snapcraft
240- run : |
241- sudo snap install snapcraft --classic --channel=7.x/stable
242-
243239 - name : Setup LXD (for Snapcraft)
244240 uses : whywaita/setup-lxd@16e1bb2e132ea11dfa2a8b8be7750cb9ab1ccbcd # tag=v1.0.0
245241 with :
246242 lxd_version : latest/stable
247243
244+ - name : Install snapcraft
245+ run : |
246+ sudo snap install snapcraft --classic --channel=7.x/stable
247+
248+ # Unbork LXD networking due to conflict with Docker iptables rules
249+ sudo iptables -F FORWARD
250+ sudo iptables -P FORWARD ACCEPT
251+
248252 - name : Build snaps
249253 run : |
250254 # Copy the metadata.json is so snapcraft can parse it for version info
Original file line number Diff line number Diff line change @@ -162,6 +162,10 @@ jobs:
162162 run : |
163163 sudo snap install snapcraft --channel 7.x/stable --classic
164164
165+ # Unbork LXD networking due to conflict with Docker iptables rules
166+ sudo iptables -F FORWARD
167+ sudo iptables -P FORWARD ACCEPT
168+
165169 - name : Build snaps
166170 run : |
167171 # Copy the metadata.json is so snapcraft can parse it for version info
You can’t perform that action at this time.
0 commit comments