Skip to content

docker command not found #12

@avahoffman

Description

@avahoffman

A lot of downstream repos are getting this error at the entrypoint stage

/__w/_temp/e293ad54-2a9e-488a-bda9-70f08af82084.sh: line 7: docker: command not found

https://github.com/ottrproject/ottrproject.github.io/actions/runs/15353783405/job/43208117264

If nothing else, add a catch that checks if docker is found before completing successfully

ottr-preview/action.yml

Lines 71 to 77 in c3f4ed7

curl -OL https://github.com/ottrproject/ottr-preview/raw/refs/heads/main/entrypoint.sh
# TODO: I was fighting curl about downloads I know this should be a separate step
# Just fix this silly thing later.
if [ '${{ inputs.root_path }}' != '.' ]; then
mv entrypoint.sh ${{ inputs.root_path }}/entrypoint.sh
fi
docker run -v ${{ github.workspace }}/${{ inputs.root_path }}:/home \

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions