explain.dalibo.com icon indicating copy to clipboard operation
explain.dalibo.com copied to clipboard

Add workflow to publish docker image for self-hosting

Open alexklibisz opened this issue 1 year ago • 5 comments

Re: #26

Pretty straightforward: checkout the latest tag, build the docker image for the Python flask application, and publish it to Github's container registry, using the git tag as the image tag.

Here's how it looks when it runs: https://github.com/alexklibisz/explain.dalibo.com/actions/runs/8943147452

Here's how it looks when the image is published: https://github.com/alexklibisz/explain.dalibo.com/pkgs/container/pev2/versions

We might want to adjust the name. I chose pev2 for now, but perhaps you want to call it something else.

alexklibisz avatar May 03 '24 18:05 alexklibisz

I see some comments from @pushkar-anand in my email, but not on the PR: image

alexklibisz avatar May 10 '24 16:05 alexklibisz

@pushkar-anand if you want to self-host the service, I have an image hosted here: https://github.com/alexklibisz/pev2-docker/pkgs/container/pev2-server

alexklibisz avatar May 10 '24 16:05 alexklibisz

I see some comments from @pushkar-anand in my email, but not on the PR: image

Yes, I got it working so I deleted it. My bad.

My comment was wrong. My fork was missing tags from the upstream so was getting errors when running the action

pushkar-anand avatar May 10 '24 16:05 pushkar-anand

@pgiraud Could you have a look here? Thanks

alexklibisz avatar May 13 '24 19:05 alexklibisz

@alexklibisz first of all I would like to apologize for the long delay.

I decided to take your idea into account in a new PR. It was easier for me to work on this on my side than adding comments to your work.

Please have a look at https://github.com/dalibo/explain.dalibo.com/pull/33. It put you as co-author to the last commit since you initiated the work.

pgiraud avatar Oct 09 '24 12:10 pgiraud

No problem at all. Thanks for picking it up! I'll go ahead and close here since this is covered in #33.

alexklibisz avatar Oct 12 '24 05:10 alexklibisz