NASA-PDS / registry-sweepers

Scripts that run regularly on the registry database, to clean and consolidate information
Apache License 2.0
0 stars 1 forks source link

Implement docker build/push in CICD #8

Closed alexdunnjpl closed 1 year ago

alexdunnjpl commented 1 year ago

⚙️ Test Data and/or Report

Manually tested

♻️ Related Issues

fixes #6

@jordanpadams @jimmie N.B. the docker tag version for releases is pulled directly from the python module version number, located at ./src/pds/registrysweepers/VERSION.txt.

If this is not updated correctly during the release process, old versions of the images on dockerhub will be overwritten. This seems brittle, so if we have a better way of doing this, let me know.

alexdunnjpl commented 1 year ago

Also @jordanpadams this repo is in kind of a liminal state because we haven't officially released it yet. Not sure how you want to handle that, or the switchover from (and removal of) the version of provenance in registry-api

alexdunnjpl commented 1 year ago

Converting to draft while I work out a bug I just noticed - the docker-hub image is tagged 1.2.0 despite the VERSION.txt content being 1.1.0