File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ coreos:
6969
7070 [Install]
7171 WantedBy=multi-user.target
72- - name: seed-deis -images.service
72+ - name: seed-docker -images.service
7373 command: start
7474 content: |
7575 [Unit]
@@ -80,5 +80,18 @@ coreos:
8080 Type=oneshot
8181 ExecStart=/bin/sh -c 'docker pull deis/slugrunner:latest'
8282
83+ [Install]
84+ WantedBy=multi-user.target
85+ - name: seed-deis-registry.service
86+ command: start
87+ content: |
88+ [Unit]
89+ Description=Seed Deis Registry with Docker Images
90+ Requires=seed-docker-images.service
91+
92+ [Service]
93+ Type=oneshot
94+ ExecStart=/bin/sh -c 'docker pull deis/slugrunner:latest && docker tag deis/slugrunner 172.17.8.100:5000/deis/slugrunner && docker push 172.17.8.100:5000/deis/slugrunner'
95+
8396 [Install]
8497 WantedBy=multi-user.target
You can’t perform that action at this time.
0 commit comments