stain / jena-docker

Docker image for Apache Jena riot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tag major semver releases on docker hub

blake-regalia opened this issue · comments

Please add tags for the major semver releases so we can automate updates in production system. This is also considered best practice. Using :latest tag would break an automated update process in the future if this project were to follow next major fuseki version.

For example, please add the tag stain/jena-fuseki:3.

On docker hub, under Builds > Configure Automated Builds... you can add build rules to match git tags using regular expressions (e.g., /^v([0-9]+)\.([0-9]+)\.([0-9]+)$/) and then variable substitution, like this:
Screen Shot 2020-03-10 at 4 00 49 PM

Then, after pushing the git tag v3.14.0 to GH:

  • {\1}.{\2}.{\3} would create the docker tag :3.14.0
  • {\1}.{\2} would create the docker tag :3.14
  • {\1} would create the docker tag :3

Does anyone except @stain have access to fix this?