Adding CI/CD to build a docker image and publish to dockerhub as well as build a tarball / wheel for pypi. These actions will be triggered when new release is published.
You will need to add three secrets to the project to publish to both sources.
DOCKER_USERNAME ( this PR assumes your account is hunyadi )
DOCKER_PASSWORD ( Docker API key )
PYPI_ID_TOKEN
This will also package up the latest code with the most recent Mermaid and Kroki updates.
The docker image will operate the exact same way as the python module
docker run --rm hunyadi/md2conf -d instructure.atlassian.net ./
These will create releases like:
Docker hub and PyPi. Note that I’ll delete these if this gets merged. Was just for testing / making sure it was aligned with how it’s getting published today.
Adding CI/CD to build a docker image and publish to dockerhub as well as build a tarball / wheel for pypi. These actions will be triggered when new release is published.
You will need to add three secrets to the project to publish to both sources.
This will also package up the latest code with the most recent Mermaid and Kroki updates.
The docker image will operate the exact same way as the python module
docker run --rm hunyadi/md2conf -d instructure.atlassian.net ./
These will create releases like: Docker hub and PyPi. Note that I’ll delete these if this gets merged. Was just for testing / making sure it was aligned with how it’s getting published today.