Skip to content

Commit d5c2cda

Browse files
committed
Ensure IP Forwarding is enabled
1 parent 92d0492 commit d5c2cda

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/docker-name-version-flavour-arch.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ jobs:
148148
id: tag
149149
uses: cytopia/[email protected]
150150

151+
# https://github.com/alpinelinux/docker-alpine/issues/98
152+
- name: "[SETUP] Fix Docker IP forwarding"
153+
run: |
154+
sysctl net.ipv4.ip_forward
155+
sysctl -w net.ipv4.ip_forward=1
156+
sudo systemctl restart docker
157+
151158
# ------------------------------------------------------------
152159
# Build
153160
# ------------------------------------------------------------

0 commit comments

Comments
 (0)