-
Notifications
You must be signed in to change notification settings - Fork 49
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
Custom tag and Push to private repository #58
Comments
All git tags are converted to docker tags, so by git tagging your repository and push it, the same tag will be created on docker. Does this resolve your use-case? |
I have my custom version number and that number i want to use as tag, which is not related to git. Is there any possibility to use custom number as tag ? And i didn't see any option to push image private docker registry ? |
The custom version number I suppose is the version of your application you want to release. Is there a specific reason why not to use git tag to mark the version on your git repository? Otherwise how would you know how to trace back to the specific commit origin of the versioned application? As for the private repo, if you configure the |
We are using very long git tag (example : release/test1_1.0, release/test2_1.0), In this case, i want to use 1.0 as docker image tag. |
@Spiddy our use-case is using the CI's build-version as the version on the docker-image, and then we propogate that version back to github (only when merging to master). So essentially, we build an image on every push to a branch and run tests, but only update the version when merged to master, and then using the version in the CI (travis). So, either using an environment variable or something similar to tag the release such as |
Can i assign custom tag while build and push it to same private repository ?
The text was updated successfully, but these errors were encountered: