feat(docker): update the ci workflow to also push to ghcr.io #180
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the CI workflow to support publishing Docker images to the GitHub Container Registry (GHCR) in addition to DockerHub. It also updates the
README.mdto inform users about the new GHCR image option.See #179 for more informations
CI Workflow Updates:
.github/workflows/ci.yml: Added environment variablesREGISTRYandIMAGE_NAMEto define the container registry and image name dynamically..github/workflows/ci.yml: Added a step to log in to the GitHub Container Registry using thedocker/login-actionand updated thedocker/metadata-actionto include the GHCR image alongside the DockerHub image.Documentation Update:
README.md: Added a tip to inform users that they can now use the Docker image from either DockerHub (iib0011/omni-tools) or the GitHub Container Registry (ghcr.io/iib0011/omni-tools).