sharpy icon indicating copy to clipboard operation
sharpy copied to clipboard

SHARPy Docker now releases to GitHub Packages

Open ngoiz opened this issue 1 year ago • 1 comments

Release SHARPy Docker image to GitHub Packages

This is done in a CI workflow through a new GitHub action. Master, release and old versions docker images of SHARPy should appear in the Packages page of the repo. The installation instructions have been amended to show how to download the image and build a container. The Dockerfile has been amended to install SHARPy through pip, as introduced in v2.0.

A minor update is the change of how we store SHARPy's version. I have added an argument such that you can query the code version through sharpy --version and stored the version in sharpy/version.py which should be the one version of truth and only file that needs modification once a new release is ready.

ngoiz avatar Oct 21 '22 16:10 ngoiz

Added some modifications such that the Docker image is only published if it is a push to master, develop or an annotated version tag starting as v*. For pull requests, it builds the image but does not published. Once this is merged into develop, the job test_image_build should be added as a required check to the currently protected branches

ngoiz avatar Oct 23 '22 09:10 ngoiz