From 3fa0c21024844d501f72dccfb14782b3c9bff79f Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 7 Mar 2019 13:04:22 -0800 Subject: [PATCH] Docker: use the buildset registry if defined If the docker build jobs see that a buildset_registry is defined (i.e., they are running in a job graph where an earlier job ran a buildset registry) automatically use that registry. Change-Id: Ied7730b793a02204921a2e76f8474fcce534ac77 --- playbooks/docker-image/pre.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/playbooks/docker-image/pre.yaml b/playbooks/docker-image/pre.yaml index 52f5b5b26..3bc338d28 100644 --- a/playbooks/docker-image/pre.yaml +++ b/playbooks/docker-image/pre.yaml @@ -1,3 +1,8 @@ - hosts: all roles: - install-docker + tasks: + - name: Configure buildset registry + when: buildset_registry is defined + include_role: + name: use-buildset-registry