GeoNode / geonode-docker

Django base images for GeoNode
Other
9 stars 33 forks source link

Setup Github actions to automate building and pushing of images #27

Open giohappy opened 10 months ago

giohappy commented 10 months ago

Multiple workflows will be setup to automate the build and push of each Docker image contained in this repository:

The "Build and push Docker images" Github Action will be adopted and configured appropriately.

I've tested a simple example for Geoserver here

We will need to setup a Docker "service" account for the GeoNode organization. Its credentials will be used to push the images.

matmair commented 7 months ago

hi @giohappy are you aware of GitHubs built-in docker registry? Publishing to it is very simple and you get a very well integrated experience. If you are intrested I would be happy to provide a PR to build one of the images.

giohappy commented 7 months ago

hi @matmair. Yes, using the built-in registry would be nice, but we still need to use Docker Hub since the existing projects are configured to use that.

We could start pushing the images on both sides and start transitioning new GeoNode projects to the ghcr.io registry.

A PR is always well accepted, but it must grant the current workflow will keep working.