Open umarcor opened 3 years ago
/cc @thboop, per https://github.com/actions/runner/issues/646#issuecomment-901336347
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
Ref: github/feedback#9053
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 :relaxed:
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.