GoogleContainerTools / GoogleContainerTools/jib

Add option to tag child images when publishing multi platform

Open
#3,518 7 comments 1 reaction 0 assignees View on GitHub
enhancement priority:p3
Dominant language
Java
Stars
14.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

**Environment**:

- 3.1.4
- gradle
-Linux

**Description of the issue**:
When one uses the platforms section to upload multi-arch images, you end up with untagged images in ECR(probably others too)
Stack overflow version of the same issue with docker buildx [here](https://stackoverflow.com/questions/68790184/tagging-multi-platform-images-in-ecr-creates-untagged-manifests).
When you look in ECR, you see the 2 child images as well as the manifest file.
![image](https://user-images.githubusercontent.com/74252256/144120534-6f9c7720-3a19-4158-b87b-f7c67879a227.png)

**Expected behavior**:
It would be nice if the child images had an option to append a -ARCH to the tag used as the Manifest one. In the above example, it would be awesome if there was an option to tag them with
0.0.130-userAdd -- Manifest
0.0.130-userAdd-amd64 -- AMD version
0.0.130-userAdd-arm64 -- ARM version

The jib section's from block
```
from {
image = baseDockerImage
platforms {
platform {
architecture = 'amd64'
os = 'linux'
}
platform {
architecture = 'arm64'
os = 'linux'
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.