Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Docker Image To GitHub Registry #40

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

taljacob2
Copy link

Hello,
I have noticed that this repository builds a docker image.

But to use that image, I am required to:

  • Clone the git repository
  • Build the image locally
  • Run the image

Instead, we could ease the process, by pre-building the image, and pushing it to a public docker registry, such as the ghcr (GitHub registry made for the repository).

Changes

  • I have added a simple GitHub Actions .yml file, for automatically building & pushing the docker image to the ghcr docker registry of this repository.
  • I have updated the README.md with the changes.
  • I have noticed that the docker run command, in the README.md runs the container without "detached" mode, which is not commonly used. The better use case is to run the container with "detached" mode. So I updated the README.md to run the commands with "detached" mode (-d).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant