We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all
I am using https://github.com/sbt/sbt-git and https://sbt-native-packager.readthedocs.io/en/stable/index.html and would like to assign the value of git.gitTagToVersionNumber to my docker container.
I tried:
git.useGitDescribe := true Docker / dockerAlias := DockerAlias(None, Some("zerocoder"), (packageName in Docker).value, git.gitTagToVersionNumber.value)
it does not work, because the type of the last argument of DockerAlias does not match.
How to get the value git.gitTagToVersionNumber?
I also tried:
git.useGitDescribe := true git.formattedShaVersion := git.gitTagToVersionNumber.value("tag") Docker / dockerAlias := DockerAlias(None, Some("zerocoder"), (packageName in Docker).value, git.gitDescribedVersion.value)
But it does not supply the desired value. I would like to tag my docker container for example with:
v0.2.0-2-g8d5cd83
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi all
I am using https://github.com/sbt/sbt-git and https://sbt-native-packager.readthedocs.io/en/stable/index.html and would like to assign the value of git.gitTagToVersionNumber to my docker container.
I tried:
it does not work, because the type of the last argument of DockerAlias does not match.
How to get the value git.gitTagToVersionNumber?
I also tried:
But it does not supply the desired value. I would like to tag my docker container for example with:
v0.2.0-2-g8d5cd83
Thanks
The text was updated successfully, but these errors were encountered: