oxtyped / gpodder2go

gpodder2go is a simple self-hosted, golang, drop-in replacement for gpodder/mygpo server to handle podcast subscriptions management for gpodder clients
GNU Affero General Public License v3.0
103 stars 13 forks source link

ci: automatically build & push docker image to ghcr.io #20

Closed tippfehlr closed 8 months ago

tippfehlr commented 9 months ago

As @TheBluesky mentioned in #17 it would be nice to have automatic docker builds. GitHub Actions provides this for free.

This action builds and pushes the image to ghcr.io, directly linked to the github repository.

The resulting image will be ghcr.io/oxtyped/gpodder2go.

Releases are labeled with :latest and :main is the main branch (latest commit)

Have a look at https://github.com/tippfehlr/gpodder2go in the sidebar, the ci ran in my fork and built an image

tippfehlr commented 8 months ago

I rebased the branch onto main and changed the versions to only limit to major (breaking) versions. Since the recent go requirement bump I also changed the Dockerfile to use latest golang and alpine images.

Also keep in mind that until the next version bump for gpodder2go only the :main image will be build.

tippfehlr commented 8 months ago

Thanks!