-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add the tags to the manifest.json #2043
Comments
Good idea, I think we can add this. If we add the additional tags to
|
thanks, looked at the PR, it was similar to how I solved it, I just got stuck without a grc account, so couldn't run the integration tests. |
@DavyLandman 1.7.0 has been released with this fix! |
great, thanks :)
…On Fri, Oct 18, 2019 at 6:19 PM Tad Cordle ***@***.***> wrote:
@DavyLandman <https://github.com/DavyLandman> 1.7.0 has been released
with this fix!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2043?email_source=notifications&email_token=AABL3E7KMQWAKBDK5J4VTO3QPHOYXA5CNFSM4I6F3W7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBVABMQ#issuecomment-543817906>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABL3E6XSRQZV3E52NKP2PLQPHOYXANCNFSM4I6F3W7A>
.
|
Environment:
Description of the issue:
The
<tags>
feature (specify multiple tags for the image) does not work forbuildTar
, as themanifest.json
only contains"repoTags": [ "image:latest"]
. It would be very useful to push the tags to this metadata.I think I could add it to the library, but first, is this desirable? To have all the tags in the tar? Currently it is done as an upload of the image and then tagging it multiple times (or uploading it multiple times with different tags for remote repositories). I think it does, so that the tar is self-contained.
Expected behavior:
When you define multiple tags, they end up in the tar, not as extra calls to the docker client/docker registry.
Steps to reproduce:
mvn clean compile jib:buildTar -Djib.to.tags=extr
jib-image.tar/manifest.json
and see it only contains the ":latest" tagThe text was updated successfully, but these errors were encountered: