memegen icon indicating copy to clipboard operation
memegen copied to clipboard

Push Docker images somewhere

Open jswny opened this issue 2 years ago • 4 comments

Would it be possible to push the Docker images for this repo somewhere? Since it's a public repo GitHub container registry would host them for free.

Since this project provides an API which I assume many others like myself want to bundle/deploy with a different application, the easiest way to do so would be to include the Docker image in a deployment. However, that's not possible currently since you'd have to build the image yourself, maybe using a submodule to pull down the code locally and then building it in CI and pushing it yourself.

If necessary I may have time to write the GitHub actions config required to do it.

jswny avatar Jul 15 '22 03:07 jswny

@jswny yeah, I'd be willing to consider that if you can provide a working setup with GitHub actions or an update to the CircleCI jobs.

jacebrowning avatar Jul 17 '22 19:07 jacebrowning

I have created my self-hosted Jenkins pipeline to periodically scan this repo for changes, build and publish to docker hub: https://hub.docker.com/r/helvio/memegen

ARM and x64 images should be available. I was only able to test x64.

This is NOT official and won't be supported by @jacebrowning, but I'll try to help if I can.

Helvio88 avatar Dec 14 '22 23:12 Helvio88

Hey @jacebrowning,

Just wondering if you're still interested in a solution to this? I'm looking for issues to work on for Hacktoberfest and wouldn't mind trying to setup GH Actions to publish an image to the GH container registry, but I realise this has been sidelined for over a year now. Is that still the brief?

Cheers, Kyle

kyluca avatar Oct 20 '23 05:10 kyluca

@kyluca the solution proposed in https://github.com/jacebrowning/memegen/pull/801 looks pretty good if you want to try to bring that across the finish line. I left a comment about making the docker push optional.

jacebrowning avatar Oct 20 '23 14:10 jacebrowning