jq not found #312
Labels
No Label
kind
bug
kind
build
kind/compatible
kind
dependencies
kind
docs
kind
enhancement
kind
feature
kind
help wanted
kind
proposal
kind
refactor
related
act
related
environment
related
exec
related
gitea
related
workflow
reviewed
confirmed
reviewed
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
reviewed
workaround
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#312
Loading…
Reference in New Issue
Block a user
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?
Trying to run an action that requires
jq
results in:I could install this fairly easily, but it might be nice to include this in the default runner image?
You can build your own images. Currently, the default image is very small.
Any instructions for doing this and reconfiguring
act_runner
to use the custom image?Just build docker images from node or from whatever else you want. Publish it to a registry (public or private)
To use custom images (might need to re-register the runner)https://gitea.com/gitea/act_runner/src/branch/main/internal/pkg/config/config.example.yaml#L32-L36
To override images implied by labels:
Thanks!
One final question, please link to where the official image is used now? I assume that's hard-coded in the code somewhere (with no special configuration of the runner in play)
the default image used is node:18 (IIRC), it's set by the labels on registration. The minimum required image to run most actions is one that has nodejs 16, although some actions may assume other binaries present that arent.
You can see more details about images in use here: https://github.com/nektos/act/blob/master/IMAGES.md note that there is a "full" image that has most/all of whats in the Github action VM, but it is quite large.