-
Notifications
You must be signed in to change notification settings - Fork 77
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 Github Actions to build and push to Docker hub #3
Comments
We spoke about this on Slack, but just to record this here - I think the strategy should be GitHub Actions to build & test the images, and DockerHub Automated Builds to build the Note that if/when we get an official image accepted (i.e. As for I suggest |
I can see why this might be useful like with local development and testing, but is there any way we can put a big "DO NOT DEPLOY OR AUTOMATE THIS IMAGE BECAUSE IT CAN BREAK YOU AT ANY TIME" warning sticker on it? Ideally, I'd like to not have one at all, just because there's no guarantee that we won't release a v3 someday (it's not at all on the radar, but I've seen this happen with other similar projects -- recently -- and it's kinda scary). Not against it, but also trying to limit footgunning. Just my $0.02. |
@mholt yeah, and that's what we'd use I've come across a few images that simply don't publish a Anyway, none of this is set in stone so we can change as we learn how people want to consume the caddy images! |
I like either of those ideas -- just not publish any |
I am not sure about not using I would always tag a |
They mostly do, but it's not mandatory. I've run across at least one instance where Personally I could go either way on this one. It certainly is a common convention... 🤷♂ |
For what it's worth, I tried using |
Thanks @timwis - that's a good data point. I'd say that constitutes a docs bug 😉. You're right that there aren't any version numbers, too - we haven't gotten around to that in the Docker images yet (though it's high time!). There's at least a few other instances where users tried |
@timwis just FYI we're going to publish Either way, the original intent of this issue has long since been achieved, so I'm closing this. |
Add Github Actions to build and push to Docker hub automatically:
latest
tags for any changes in themaster
-branchv2.0.0
will build and tag a imagecaddy:v2.0.0-alpine
Question: Should we use the
v
prefix for versions?The text was updated successfully, but these errors were encountered: