Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag major semver releases on docker hub #31

Open
blake-regalia opened this issue Feb 24, 2020 · 2 comments
Open

Tag major semver releases on docker hub #31

blake-regalia opened this issue Feb 24, 2020 · 2 comments

Comments

@blake-regalia
Copy link

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.

@blake-regalia
Copy link
Author

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

@kuzeko
Copy link
Collaborator

kuzeko commented Apr 13, 2021

Does anyone except @stain have access to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants