· Jan 9, 2022 2m read

Publishing Docker Image of Your InterSystems IRIS Solution to Github Registry Automatically

Hi folks!

Sometimes we need the docker image of the InterSystems IRIS solution we build to be published on some docker registry. The cases could be:

  1. Deploy it then in Kubernetes cluster
  2. Let your pal run the image of your public repo without building it locally.

You can push the image to Docker Hub Registry or Github Registry.

In this very short article, I provide a way how to do it automatically on every push to your GitHub repository.

Just add the following file into .github/workflows folder of your repository:


With any filename. See the example in iris-dev-template.

Every time you push the commit to the repository Github will execute this workflow to bake and publish the image on Github Registry.

The published image can be pulled and run in docker by anyone, e.g. like this iris-dev-template:

# docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773

The file can work in any repo without any change. The images will have different names of course - equal to the repo name plus  in front and latest in the end.

I stole the approach from the GitHub documentation and included in the community template.

Hope you'll find it useful.

Discussion (0)1
Log in or sign up to continue