nektos / act

Run your GitHub Actions locally 🚀
https://nektosact.com
MIT License
54.5k stars 1.36k forks source link

Request to Disable IPv6 in Ubuntu Images to Enable JDK Installations #2482

Open xingzhang-pku opened 1 day ago

xingzhang-pku commented 1 day ago

Act version

act version 0.0.0-SNAPSHOT-a30d171

Feature description

Issue Description

We are encountering an issue where our continuous integration (CI) process fails during JDK installation via IPv6 connections. Specifically, attempts to access the JDK bundles from Azul's API through IPv6 consistently fail, while IPv4 connections are successful.

Affected Images

The issue affects the following Docker images used in our GitHub Actions workflows:

Expected Behavior

We propose to disable IPv6 in the aforementioned Docker images to ensure reliable access to necessary external resources like JDK downloads during CI processes. This change would help not only our workflows but also other users who might face similar networking issues.

Steps to Reproduce

  1. Run a CI job using any of the above images.
  2. Attempt to install JDK from the following URL via IPv6: https://api.azul.com/zulu/download/community/v1.0/bundles/?os=linux&ext=tar.gz&bundle_type=jdk&javafx=false&arch=x86&hw_bitness=64

Additional Information

Disabling IPv6 would be a temporary solution until a more robust handling of IPv4 and IPv6 compatibility issues can be implemented. This adjustment would facilitate a smoother development and testing process for teams relying on these Docker images.

Thank you for considering this enhancement to support better CI configuration and stability.

xingzhang-pku commented 1 day ago

@ChristopherHX Could you please review the above issue? Your assistance would be greatly appreciated. Thank you!

sebastien-perpignane commented 5 hours ago

Hi,

How do you know it is related to IP v6 ? What kind of error do you get ?

Are you using setup-java to install the azul jdk ? or wget ? some other command ?