nikitastupin / clairvoyance

Obtain GraphQL API schema even if the introspection is disabled
Apache License 2.0
968 stars 87 forks source link

Implement Dockerfile and CI/CD to DockerHub #21

Closed EONRaider closed 2 years ago

EONRaider commented 2 years ago

This PR adds a Dockerfile to clairvoyance with the following considerations:

We also have a workflow with a CICD pipeline to DockerHub. All you need to do is to add the DOCKER_HUB_USERNAME and DOCKER_HUB_ACCESS_TOKEN secrets to the repository and all pushes/merges to the master branch will automatically push an image to DockerHub.

This is a nice tool but I needed to run it from a Docker container, so here is my contribution. If you merge I'll go ahead later and add a few installation instructions for Docker to the README.md file.

nikitastupin commented 2 years ago

This is a cool feature! Thank you very much 😃

I've just changed an event that triggers an image publishing to Docker Hub at 928ee90 so it publishes an image only if tests finished successfully.

nikitastupin commented 2 years ago

The image should be pullable from https://hub.docker.com/r/nikitastupin/clairvoyance

EONRaider commented 2 years ago

Great! I'll add some simple instructions on how to use it with Docker to the README.md file and do a new PR.