Mike Farah
Mike Farah
This is going to be trickier than I thought, won't make it in this release sorry
Sorry I don't understand - how do you get thousands of Docker files?
Not sure how github actions work under the hood - perhaps you could run the image with `--rm` to remove the container when it finishes? My understanding of Docker images...
I see - so it was building a new image every time from the Dockerfile. Why are you not using `uses` as documented here https://mikefarah.gitbook.io/yq/usage/github-action ? Does that only work...
I was referring to this bit in stackoverflow, where they specify the user in the container: ``` container: image: owasp/zap2docker-stable options: --user root ``` Huh I had assumed github would...
Oh wait is that what you mean over here: ``` runs: using: 'docker' image: 'mikefarah/yq:4' entrypoint: '/github/entrypoint.sh' args: - ${{ inputs.cmd }} ``` like that goes in the action.yml?
Ok I think the best way is to create and publish a specific github action image, that both has the entrypoint.sh and sets the user ID. Then have the action.yml...
Could do that - the only issue being you wouldn't be able to use dockers special `latest` syntax to always use the latest image...
Oh you are right, the current action just gets mikefarah/yq:4. Ok I think that makes sense. Now it just needs to be done .
This is an issue with the underlying yaml parser :( see https://github.com/go-yaml/yaml/issues/827