Browse Source

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
master
James E. Blair 2 months ago
parent
commit
3fa0c21024
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      playbooks/docker-image/pre.yaml

+ 5
- 0
playbooks/docker-image/pre.yaml View File

@@ -1,3 +1,8 @@
1 1
 - hosts: all
2 2
   roles:
3 3
     - install-docker
4
+  tasks:
5
+    - name: Configure buildset registry
6
+      when: buildset_registry is defined
7
+      include_role:
8
+        name: use-buildset-registry

Loading…
Cancel
Save