mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #717] Issue: actions/setup-node@v1 failing with error to get local cert #453
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#453
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @merlinstardust on GitHub (Jun 2, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/717
Act version
Expected behaviour
actions/setup-node@v1should succeed in setting up nodeActual behaviour
actions/setup-node@v1fails with errorunable to get local issuer certificateWorkflow and/or repository
Repo Link to Workflow
Log
@github-actions[bot] commented on GitHub (Jul 3, 2021):
Issue is stale and will be closed in 14 days unless there is new activity
@howin98 commented on GitHub (Mar 7, 2022):
what is the solution about that
@seansica commented on GitHub (Jan 24, 2023):
Here is a solution that worked for me:
I was receiving this error because the default Docker image used did not have my workplace's root certificates available inside the container, so when it ran
wgetorcurl(whatever tool is being used to download requisite setup tools like Python or Node), it failed with an SSL error.The solution was to to create a custom image via
docker image build . -f act.Dockerfile -t my-custom-act-image:Then specify the custom image using the
-Pflag:act -P ubuntu-latest=my-custom-act-image@codycodes commented on GitHub (Sep 11, 2024):
In addition to @seansica's answer, if your images are stored locally you'll probably want to use the
--pull=falseforact -P ubuntu-latest=my-custom-act-image --pull=false