8000 Support the integrated artifact server and cache server when using the `--network` flag to use a network that is not the default `host` networking · Issue #5996 · nektos/act · GitHub
[go: up one dir, main page]

8000
Skip to content

Support the integrated artifact server and cache server when using the --network flag to use a network that is not the default host networking #5996

@mozzieongit

Description

@mozzieongit

Act version

0.2.84

Feature description

When running act with --network default on Docker (or --network podman on podman) the artifact or cache servers are not reachable by the containers, as the servers bind on the "public" IP of the host and not the IP of the container network interface.

The feature request is to support those servers when using non-host networking.

As a workaround for the artifact server I previously hacked together a standalone binary based on the act code (see https://github.com/mozzieongit/act/blob/master/bin/standalone-artifact-server.go) and created a separate container running that binary (see the README).
I think the better approach would be to keep it within the one act binary and host the servers on the correct IP.
However, my Go knowledge is not advanced (or even intermediate or beginner for that matter) enough to make a PR myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0