You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
When I define a docker repository group the order of the items in the member_names is not respected which leads to unreliable results when image are pulled.
Reproduce
Create two repos. One for a hosted variant and one for a proxy. As they are ordered by name please name the hosted repo z-repo and the proxy repo a-repo.
Define a repository group with the hosted as first item.
# ... repository definition for docker_hosted and docker_proxy.
resource "nexus_repository" "docker_group" {
depends_on = [nexus_repository.z_repo,nexus_repository.a_repo]
name = "docker-group"
format = "docker"
type = "group"
online = true
group {
member_names = ["z-repo","a-repo"]
}
# ... rest or resource configuration.
}
Create an image and push this to the proxied repo with the image tag test:a
Create an image and push this to the hosted repo on nexus with the same image tag.
Pull the image with the tag from the docker-group repo.
Expected result
The image from the z-repo would be pulled.
Actual result
The image from the a-repo is pulled.
The text was updated successfully, but these errors were encountered:
Summary
When I define a docker repository group the order of the items in the
member_names
is not respected which leads to unreliable results when image are pulled.Reproduce
Create two repos. One for a hosted variant and one for a proxy. As they are ordered by name please name the hosted repo
z-repo
and the proxy repoa-repo
.Define a repository group with the hosted as first item.
test:a
docker-group
repo.Expected result
The image from the
z-repo
would be pulled.Actual result
The image from the
a-repo
is pulled.The text was updated successfully, but these errors were encountered: