Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Support publishing ports to host OS #569

Open
bixu opened this issue Mar 17, 2021 · 3 comments
Open

Enhancement: Support publishing ports to host OS #569

bixu opened this issue Mar 17, 2021 · 3 comments
Labels
area/cli Relating to the cli kind/feature-request New feature or request stale-exempt Exempt from stale

Comments

@bixu
Copy link

bixu commented Mar 17, 2021

Port publishing similar to Docker's --publish flag

Here's a specific use-case from my org: we run a JUnit test suite in GH Actions, and were trying to debug an issue with suite using Act, but this was difficult because the JVM remote debugger listens on a port inside the Act container and wasn't easily accessible to our dev toolset. If the maintainers would be open to adding port publishing with a flag like --publish (following Docker conventions), we'd might be able to open a PR around this.

CC: @olga-casian

@bixu bixu added the kind/feature-request New feature or request label Mar 17, 2021
@jsoref
Copy link
Contributor

jsoref commented Apr 4, 2021

The maintainers might be open to this (it doesn't seem terribly unreasonable).

Note that there are ways that should work today:

I haven't tried any of these. I ran across someone offering a tunnel for GHA recently. I'm still trying to get my action to basically work in act, let alone fancy stuff.

Do note that you can run docker exec to connect to the running container, so you could probably bolt something on using some local ncs too.

@bixu
Copy link
Author

bixu commented Apr 9, 2021

@calleb-sumup

@catthehacker catthehacker added area/cli Relating to the cli stale-exempt Exempt from stale labels Apr 9, 2021
@mzagaja
Copy link

mzagaja commented Mar 31, 2022

After going through a large debugging adventure with some actions today, adding this feature would be a big win for my developer experience in order to be able to connect a remote debugger to my test suite through TCP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Relating to the cli kind/feature-request New feature or request stale-exempt Exempt from stale
Projects
None yet
Development

No branches or pull requests

4 participants