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

Foreground, entry point, and image tag #387

Open
geozeke opened this issue Jun 11, 2023 · 3 comments
Open

Foreground, entry point, and image tag #387

geozeke opened this issue Jun 11, 2023 · 3 comments

Comments

@geozeke
Copy link

geozeke commented Jun 11, 2023

Love the idea of moving docker image building to CI! Thanks, @oliv3r!

I've always built the image locally, and it's worked fine until recent commits. Here are two things I noticed:

  1. The README.md file says to run the docker image from ghcr.io/yrutschle/sslh:latest, but the image seems to be packaged up as ghcr.io/yrutschle/sslh:master.
  2. It doesn't matter if I clone the repo and manually build the image, or pull it from ghcr.io/yrutschle/sslh:master. It seems that the container starts normally, then immediately exits with a status code of 0. If I roll back to f23da1f, and build manually, all is well. Any commit later than f23da1f doesn't seem to work.

Thanks for all the hard work on this!

@geozeke
Copy link
Author

geozeke commented Jun 27, 2023

Sorry about that. This one's on me. I missed that the update requires the --foreground switch when you run the docker container. Updated the docker compose file and pulled directly from ghrc.io and all is well.

I think there's still a lingering documentation issue, though. The image that needs to be pulled is ghcr.io/yrutschle/sslh:master, but the README.md file says to pull this: ghcr.io/yrutschle/sslh:latest. If I've got it wrong, which is entirely possible, then recommend closing this issue. I'll just leave it up for now in case it's helpful to someone else.

@oliv3r
Copy link
Contributor

oliv3r commented Jul 16, 2023

Yeah, it's not so much a documentation issue, but lack of a proper tag :) once a tagged release is made, the latest tag will exist, until then, master. You still have to deal with the chicken-egg thing. Tag, update docs, or have docs ready, and wait for tag. :S

@geozeke
Copy link
Author

geozeke commented Jul 16, 2023

👍

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

No branches or pull requests

2 participants