opengrok
opengrok copied to clipboard
use docker pushrm to update README on Docker Hub
This change changes how the Docker hub README is updated. It uses https://github.com/christian-korneck/docker-pushrm based Github action. The pro is that this avoids common pitfalls when updating the README.
As mentioned on https://stackoverflow.com/a/58478262/11582827 , it would be better if the conditional in the Github workflow was based on the release
build type however the workflow needs to work for other types as well.
The build failed with:
christian-korneck/update-container-description-action@v1 is not allowed to be used in oracle/opengrok. Actions in this workflow must be: within a repository that belongs to your Enterprise account, created by GitHub, or matching the following: docker/*, gradle/wrapper-validation-action*, microsoft/[email protected], ruby/setup-ruby*.
so I need to sort this out with the Oracle Github maintainers.
Because of internal regulations, third party Github actions cannot be used. Rewriting docker.sh
to Python.
I hit a number of limitations of https://github.com/docker/docker-py (which I deem serious enough) so will rewrite just the README uploading part.