Open dkliban opened 4 years ago
Would it be sufficient to wrap https://github.com/OpenAPITools/openapi-generator/blob/master/bin/utils/openapi-generator-cli.sh into a standard JDK image? This script checks the latest tag on GitHub at every invocation and pulls/executes that jar.
By wrapping that script, we build the image once (or scheduled daily to keep dependencies updated) and there's no maintenance or need to hook into our build.
Our project uses openapi-generator-cli image from Dockerhub to generate client libraries. We would like to always use the latest release. When a new release is available, we have to update our scripts to use the new tag. It would be easier if 'latest-stable' tag always pointed to the latest release.