Skip to content

´[Errno 2] No such file or directory´ during Create Docker container action #350

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

Closed
APN-Pucky opened this issue Mar 17, 2025 · 2 comments

Comments

@APN-Pucky
Copy link

APN-Pucky commented Mar 17, 2025

Run # Create Docker container action
  # Create Docker container action
  /usr/bin/python3 '/home/runner/work/_actions/pypa/gh-action-pypi-publish/release/v1/create-docker-action.py'
  shell: bash --noprofile --norc -e -o pipefail {0}
  env:
    ORGANIZATION_PROVIDER: gh
    OWNER_NAME: APN-Pucky
    REPOSITORY_NAME: feynml
    REF: main
    REPO: APN-Pucky/make-python-action
    REPO_ID: 584503197
/usr/bin/python3: can't open file '/home/runner/work/_actions/pypa/gh-action-pypi-publish/release/v1/create-docker-action.py': [Errno 2] No such file or directory

Running https://github.com/APN-Pucky/feynml/actions/runs/13897063429/job/38880003452 which calls https://github.com/APN-Pucky/make-python-action/blob/main/action.yml fails.

This might be related to #291 and #296. However the nested action worked for me about a year ago without problems.

@APN-Pucky APN-Pucky changed the title [Errno 2] No such file or directory during Create Dcoker container actoin ´[Errno 2] No such file or directory´ during Create Docker container action Mar 17, 2025
@webknjaz
Copy link
Member

Yes, calling from composite actions or reusable workflows won't work after refactoring. It was never intended to be used like that anyway. Plus with Trusted Publishing it'd be insecure to do this. Reusable workflows might start working some day. However, it'll still be insecure to stuff other steps into those jobs. See the non-goals section of the README.

@webknjaz webknjaz closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2025
@APN-Pucky
Copy link
Author

Thanks, a case of the https://www.hyrumslaw.com/ :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants