opengrok icon indicating copy to clipboard operation
opengrok copied to clipboard

use docker pushrm to update README on Docker Hub

Open vladak opened this issue 2 years ago • 1 comments

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.

vladak avatar Jul 29 '22 09:07 vladak

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.

vladak avatar Jul 29 '22 09:07 vladak

Because of internal regulations, third party Github actions cannot be used. Rewriting docker.sh to Python.

vladak avatar Oct 04 '22 15:10 vladak

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.

vladak avatar Oct 05 '22 15:10 vladak