You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is not possible to use the stdout of Docker image in a GitHub action. This would be useful if one wants to do some tests based on stdout but not only exit codes.
I was able to do that by making the changes below.
1- add `docker-entrypoint.sh`` to set action output variable
Currently it is not possible to use the stdout of Docker image in a GitHub action. This would be useful if one wants to do some tests based on stdout but not only exit codes.
I was able to do that by making the changes below.
1- add `docker-entrypoint.sh`` to set action output variable
2- modify the
Dockerfile
to use entrypoint shell scriptThe changes I made in the GitHub action can be seen here:
https://github.com/citation-file-format/cffconvert-github-action/compare/livetest-stdout
You can see an job with stdout here:
https://github.com/citation-file-format/cffconvert-github-action/runs/4922731817?check_suite_focus=true
The text was updated successfully, but these errors were encountered: