Create ghcr_build_publish#80
Open
loorisr wants to merge 2 commits into
Open
Conversation
Contributor
|
Thanks, I'll take a closer look and test it! |
Contributor
|
@loorisr, can you tell me how this pushed docker image would be then used by the users? I would appreciate some manual I could then include in the readme along with instruction on how to also configure it. Would you action use the current dockerfile? |
Author
|
Yes it uses the current Dockerfile. The github action build the docker image and store in the github container repository : https://github.com/orgs/logdyhq/packages Then users will have to pull the build image (most likely ghcr.io/logdyhq/logdy-core:latest) and use it for example with a similar docker-compose: services:
logdy:
image: ghcr.io/logdyhq/logdy-core:latest
container_name: logdy
read_only: true
user: "1000:1000"
restart: unless-stopped
security_opt:
- no-new-privileges=true
cap_drop:
- ALL
volumes:
- /home/docker/caddy/logs:/var/log:ro #path to your log file
command: [ "follow", "/var/log/access.log"] |
|
Any progress about this PR? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I made this github action file to publish a package when a new release is done.
#79