tldr-pages / tldr-lint

A linting tool to validate tldr pages
https://www.npmjs.com/package/tldr-lint
MIT License
35 stars 20 forks source link

feat: dockerise tldr-lint #309

Closed gutjuri closed 3 months ago

gutjuri commented 3 months ago

I was getting tired of having to install node in oder to run tldr-lint. I've thus written a Dockerfile which allows users to build a tldr-lint docker image.

I've added a workflow that builds the image in order to check whether or not the build process succeeds.

I've also added documentation in README.md.

gutjuri commented 3 months ago

Do we want to publish the linter as a Docker image to GHCR during the publisher workflow? 🤔

Okay, I added a workflow that should push the image when a release is created. However, I have no idea how to test this. Do you have an idea how to test such things?

kbdharun commented 3 months ago

Do we want to publish the linter as a Docker image to GHCR during the publisher workflow? 🤔

Okay, I added a workflow that should push the image when a release is created. However, I have no idea how to test this. Do you have an idea how to test such things?

Nice changes, I work with Docker and GHCR a lot. Will check out the workflow and get back.

gutjuri commented 3 months ago

Thank you so much for you efforts in improving this PR!