-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Do not build container actions ahead of time #814
Comments
/cc @thboop, per #646 (comment) This issue applies to composite actions as well. Find a reproducer in https://github.com/hdl/containers/blob/GHA-MWEs/utils/mwe-local-container-image/action.yml and https://github.com/hdl/containers/blob/GHA-MWEs/.github/workflows/MWE-814.yml. That workflow contains the two jobs in the code blocks above, plus a job using a composite action. Example execution: https://github.com/hdl/containers/actions/runs/1451481784 |
Hi @umarcor, We pre-fetch stuff related to the uses directive, but I will label this as an enhancement and it will be considered for a change in the future. It is also on our backlog and we will update you on the progress when we pick it up |
As a result, it is currently not possible to use local containers using the
uses: docker://
syntax.The alternative is to call docker explicitly, which requires handling all the environment manually (if necessary):
Using local docker images in container steps should be supported too.
The text was updated successfully, but these errors were encountered: